diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2017-12-01 17:59:53 -0800 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2017-12-01 18:35:30 -0800 |
commit | fcc083dc123946039fdfc88c55bbd4902dadd52a (patch) | |
tree | e7bc96626076c6b00f560ce139e9a23a0a04650f /tests/test_replication.py | |
parent | a51160317c680662c52e4a1a6b4d11beae37f205 (diff) | |
download | psycopg2-fcc083dc123946039fdfc88c55bbd4902dadd52a.tar.gz |
Always import the system unittest
There is no need to import testutils.unittest instead of simply
unittest. They are simple aliases. Use system unittest to be more
regular, consistent as well as idiomatic with the wider Python
community.
Diffstat (limited to 'tests/test_replication.py')
-rwxr-xr-x | tests/test_replication.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_replication.py b/tests/test_replication.py index d03c656..444dd11 100755 --- a/tests/test_replication.py +++ b/tests/test_replication.py @@ -27,7 +27,8 @@ from psycopg2.extras import ( PhysicalReplicationConnection, LogicalReplicationConnection, StopReplication) import testconfig -from testutils import unittest, ConnectingTestCase +import unittest +from testutils import ConnectingTestCase from testutils import skip_before_postgres, skip_if_green skip_repl_if_green = skip_if_green("replication not supported in green mode") |