From 86f05456b83ea558cebbb0d44ab829f52a517882 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Tue, 16 Apr 2019 07:07:19 +0200 Subject: [PATCH] Fixed pya:qtbinding test --- testdata/python/qtbinding.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/testdata/python/qtbinding.py b/testdata/python/qtbinding.py index 52f1c27e5..c9db82683 100644 --- a/testdata/python/qtbinding.py +++ b/testdata/python/qtbinding.py @@ -146,8 +146,8 @@ class QtBindingTest(unittest.TestCase): # destroying a will also destroy aa a.destroy() - self.assertEqual(a.destroyed(), True) - self.assertEqual(aa.destroyed(), True) + self.assertEqual(a._destroyed(), True) + self.assertEqual(aa._destroyed(), True) def test_12(self): @@ -158,7 +158,7 @@ class QtBindingTest(unittest.TestCase): # destroying a will also destroy aa a = None - self.assertEqual(aa.destroyed(), True) + self.assertEqual(aa._destroyed(), True) def test_13(self): @@ -182,7 +182,7 @@ class QtBindingTest(unittest.TestCase): self.assertEqual(aa != None, True) self.assertEqual(type(aa), pya.QAction) self.assertEqual(aa.text, "aatext") - self.assertEqual(aa.destroyed(), False) + self.assertEqual(aa._destroyed(), False) def test_20(self):