From 7aef7bd4c8597ae0a9092a49e4847da9aa8a62c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 30 Mar 2020 12:01:34 +0200 Subject: [PATCH] python: this was a bug in my test. Interestingly enough, on Py3.7 this passed. Not exactly sure why. --- src/python/magnum/test/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/magnum/test/test.py b/src/python/magnum/test/test.py index 0af0f8e..966afe6 100644 --- a/src/python/magnum/test/test.py +++ b/src/python/magnum/test/test.py @@ -261,4 +261,4 @@ class ImageView(unittest.TestCase): b'rgbRGB ')) self.assertIs(a.owner, data2) self.assertEqual(sys.getrefcount(data), data_refcount) - self.assertEqual(sys.getrefcount(data2), data_refcount + 1) + self.assertEqual(sys.getrefcount(data2), data2_refcount + 1)