Skip to content

Commit 397f67e

Browse files
committed
Simplify redundant isinstance check
1 parent e8f052e commit 397f67e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

trio/tests/test_exports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,4 @@ def test_classes_are_final():
141141
continue
142142
# ... insert other special cases here ...
143143

144-
assert isinstance(class_, (_util.Final, _util.Final))
144+
assert isinstance(class_, _util.Final)

0 commit comments

Comments
 (0)