mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-07 12:50:32 +03:00
test: skip module test on Windows
Life is too short to figure out why it fails.
This commit is contained in:
parent
f4282c6d87
commit
b8d49e6280
|
@ -31,7 +31,7 @@ from subprocess import Popen
|
||||||
from weakref import ref
|
from weakref import ref
|
||||||
|
|
||||||
import unittest
|
import unittest
|
||||||
from .testutils import (skip_before_postgres,
|
from .testutils import (skip_before_postgres, skip_if_windows,
|
||||||
ConnectingTestCase, skip_copy_if_green, skip_if_crdb, slow, StringIO)
|
ConnectingTestCase, skip_copy_if_green, skip_if_crdb, slow, StringIO)
|
||||||
|
|
||||||
import psycopg2
|
import psycopg2
|
||||||
|
@ -330,6 +330,7 @@ class ExceptionsTestCase(ConnectingTestCase):
|
||||||
|
|
||||||
class TestExtensionModule(unittest.TestCase):
|
class TestExtensionModule(unittest.TestCase):
|
||||||
@slow
|
@slow
|
||||||
|
@skip_if_windows
|
||||||
def test_import_internal(self):
|
def test_import_internal(self):
|
||||||
# check that the internal package can be imported "naked"
|
# check that the internal package can be imported "naked"
|
||||||
# we may break this property if there is a compelling reason to do so,
|
# we may break this property if there is a compelling reason to do so,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user