mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-26 02:43:43 +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
|
||||
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 psycopg2 import errorcodes
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user