aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/pysidetest/constructor_properties_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/pysidetest/constructor_properties_test.py')
-rw-r--r--sources/pyside6/tests/pysidetest/constructor_properties_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/pysidetest/constructor_properties_test.py b/sources/pyside6/tests/pysidetest/constructor_properties_test.py
index 9892c618d..fbfbdffeb 100644
--- a/sources/pyside6/tests/pysidetest/constructor_properties_test.py
+++ b/sources/pyside6/tests/pysidetest/constructor_properties_test.py
@@ -79,7 +79,7 @@ class DiverseKeywordsTest(UsesQApplication):
def testUndefinedKeyword(self):
r, g, b, a = 1, 2, 3, 4
# From the jira issue:
- with self.assertRaises(TypeError) as cm:
+ with self.assertRaises(AttributeError) as cm:
QColor(r, g, b, a, alpha=0)
self.assertTrue("unsupported" in cm.exception.args[0])