diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2016-10-11 00:10:53 +0100 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2016-10-11 00:11:55 +0100 |
| commit | 91d2158de7954daccb0a22885021c8416d1d5c6c (patch) | |
| tree | 0c6d537c377ee095d7d4d451477931d7a310dd11 /tests/test_bug_gc.py | |
| parent | 4458c9b4c94e524237fb39c7821b248fc2a85e35 (diff) | |
| download | psycopg2-91d2158de7954daccb0a22885021c8416d1d5c6c.tar.gz | |
Python source cleanup using flake8
Diffstat (limited to 'tests/test_bug_gc.py')
| -rwxr-xr-x | tests/test_bug_gc.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_bug_gc.py b/tests/test_bug_gc.py index 1551dc4..084236e 100755 --- a/tests/test_bug_gc.py +++ b/tests/test_bug_gc.py @@ -29,6 +29,7 @@ import gc from testutils import ConnectingTestCase, skip_if_no_uuid + class StolenReferenceTestCase(ConnectingTestCase): @skip_if_no_uuid def test_stolen_reference_bug(self): @@ -41,8 +42,10 @@ class StolenReferenceTestCase(ConnectingTestCase): curs.execute("select 'b5219e01-19ab-4994-b71e-149225dc51e4'::uuid") curs.fetchone() + def test_suite(): return unittest.TestLoader().loadTestsFromName(__name__) + if __name__ == "__main__": unittest.main() |
