diff options
Diffstat (limited to 'tests/test_copy.py')
-rwxr-xr-x | tests/test_copy.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/test_copy.py b/tests/test_copy.py index 1eb1090..11ab492 100755 --- a/tests/test_copy.py +++ b/tests/test_copy.py @@ -25,8 +25,7 @@ import sys import string import unittest -from .testutils import (ConnectingTestCase, decorate_all_tests, - skip_before_postgres, slow, StringIO) +from .testutils import (ConnectingTestCase, skip_before_postgres, slow, StringIO) from itertools import cycle from subprocess import Popen, PIPE @@ -63,6 +62,7 @@ class MinimalWrite(_base): return self.f.write(data) +@skip_copy_if_green class CopyTests(ConnectingTestCase): def setUp(self): @@ -378,9 +378,6 @@ conn.close() curs.copy_to, BrokenWrite(), "tcopy") -decorate_all_tests(CopyTests, skip_copy_if_green) - - def test_suite(): return unittest.TestLoader().loadTestsFromName(__name__) |