We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4664e4e commit 6a44153Copy full SHA for 6a44153
Lib/test/test_types.py
@@ -2402,6 +2402,9 @@ def test_static_types_inherited_slots(self):
2402
for slot, own in iter_slot_wrappers(cls):
2403
if cls is bool and slot in self.NUMERIC_METHODS:
2404
continue
2405
+ if cls is imaginary and slot in ('__abs__', '__bool__',
2406
+ '__pow__', '__rpow__'):
2407
+ continue
2408
slots.append((cls, slot, own))
2409
script += textwrap.dedent(f"""
2410
text = repr({cls.__name__}.{slot})
0 commit comments