diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2019-03-16 16:53:38 +0000 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2019-03-16 19:04:40 +0000 |
| commit | 8cfe176a8501be37a925a364e510b32db43e82cc (patch) | |
| tree | 43cdfad57908dd31276e15577efb00d09b9c4705 | |
| parent | aaba4dcf87431079203c900fbec8ca2a519392b9 (diff) | |
| download | psycopg2-8cfe176a8501be37a925a364e510b32db43e82cc.tar.gz | |
Dropped repeated conditional import of reload in test
| -rwxr-xr-x | tests/test_errcodes.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/test_errcodes.py b/tests/test_errcodes.py index c510f72..676d12d 100755 --- a/tests/test_errcodes.py +++ b/tests/test_errcodes.py @@ -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 |
