diff options
Diffstat (limited to 'Lib/test/test_set.py')
-rw-r--r-- | Lib/test/test_set.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_set.py b/Lib/test/test_set.py index b1fab0f..29bb39d 100644 --- a/Lib/test/test_set.py +++ b/Lib/test/test_set.py @@ -593,6 +593,7 @@ class TestSet(TestJointOps, unittest.TestCase): p = weakref.proxy(s) self.assertEqual(str(p), str(s)) s = None + support.gc_collect() # For PyPy or other GCs. self.assertRaises(ReferenceError, str, p) def test_rich_compare(self): |