diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-04-01 12:22:02 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-04-01 12:25:03 +0200 |
commit | f82d1533efa37ea2c4b91031e2570a4840caa2db (patch) | |
tree | 5f7100c0b7f2c9b28a7c2274b7c12439756c3158 | |
parent | 52ef81c48d80126312f128182928cbbc195d255c (diff) | |
download | pygobject-f82d1533efa37ea2c4b91031e2570a4840caa2db.tar.gz |
test_properties: skip a sys.getrefcount test
-rw-r--r-- | tests/test_properties.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_properties.py b/tests/test_properties.py index a2ff03ce..948013c3 100644 --- a/tests/test_properties.py +++ b/tests/test_properties.py @@ -834,7 +834,7 @@ class TestProperty(unittest.TestCase): GObject.Property(type=GObject.TYPE_DOUBLE, minimum=-1) # Bug 644039 - + @unittest.skipUnless(hasattr(sys, "getrefcount"), "no sys.getrefcount") def test_reference_count(self): # We can check directly if an object gets finalized, so we will # observe it indirectly through the refcount of a member object. |