summaryrefslogtreecommitdiff
path: root/tests/test_module.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2013-05-06 10:39:24 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2013-05-06 10:39:24 +0100
commita44db81d9bde28ac9883d6f4b676aef2e56ed999 (patch)
tree5b35a9234b6e877edcabad41802b26d6778b34dc /tests/test_module.py
parentbbe0bf955cb78f2135c790056b191492919e892f (diff)
downloadpsycopg2-a44db81d9bde28ac9883d6f4b676aef2e56ed999.tar.gz
Skip tests on python implementations without getrefcount()
PyPy is one of these.
Diffstat (limited to 'tests/test_module.py')
-rwxr-xr-xtests/test_module.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_module.py b/tests/test_module.py
index e6d1a3d..6f30b2e 100755
--- a/tests/test_module.py
+++ b/tests/test_module.py
@@ -199,7 +199,7 @@ class ExceptionsTestCase(ConnectingTestCase):
self.assertEqual(diag.sqlstate, '42P01')
del diag
- gc.collect()
+ gc.collect(); gc.collect()
assert(w() is None)
@skip_copy_if_green