mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-17 01:20:32 +03:00
Dropped repeated conditional import of reload in test
This commit is contained in:
parent
aaba4dcf87
commit
8cfe176a85
|
@ -25,14 +25,6 @@
|
||||||
import unittest
|
import unittest
|
||||||
from .testutils import ConnectingTestCase, slow, reload
|
from .testutils import ConnectingTestCase, slow, reload
|
||||||
|
|
||||||
try:
|
|
||||||
reload
|
|
||||||
except NameError:
|
|
||||||
try:
|
|
||||||
from importlib import reload
|
|
||||||
except ImportError:
|
|
||||||
from imp import reload
|
|
||||||
|
|
||||||
from threading import Thread
|
from threading import Thread
|
||||||
from psycopg2 import errorcodes
|
from psycopg2 import errorcodes
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user