diff options
Diffstat (limited to 'sources/pyside6/tests/pysidetest/enum_test.py')
| -rw-r--r-- | sources/pyside6/tests/pysidetest/enum_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/tests/pysidetest/enum_test.py b/sources/pyside6/tests/pysidetest/enum_test.py index ab20cbab4..a60b4d188 100644 --- a/sources/pyside6/tests/pysidetest/enum_test.py +++ b/sources/pyside6/tests/pysidetest/enum_test.py @@ -20,8 +20,8 @@ import dis class ListConnectionTest(unittest.TestCase): def testEnumVisibility(self): - self.assertEqual(Enum1.Option1, 1) - self.assertEqual(Enum1.Option2, 2) + self.assertEqual(Enum1.Option1.value, 1) + self.assertEqual(Enum1.Option2.value, 2) self.assertEqual(TestObjectWithoutNamespace.Enum2.Option3, 3) self.assertEqual(TestObjectWithoutNamespace.Enum2.Option4, 4) |
