From 92fc947d9038493dbee9a4c274fb10ae396187b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 18 Nov 2018 20:30:12 +0100 Subject: [PATCH] test: Skip test_del on PyPy* since it hangs Fixes #43. --- test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test.py b/test.py index 3b616d1f..7714961b 100644 --- a/test.py +++ b/test.py @@ -334,6 +334,8 @@ def test_context1(self): self.assertFalse(lock.is_locked) return None + @unittest.skipIf(hasattr(sys, 'pypy_version_info'), + 'del() does not trigger GC in PyPy') def test_del(self): """ Tests, if the lock is released, when the object is deleted.