Skip to content

Commit b83668e

Browse files
authored
Update test_annotationlib.py
Fix lint
1 parent 88e27d5 commit b83668e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_annotationlib.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,15 +393,15 @@ def g(
393393
"z": "a[(int, str), 5]",
394394
},
395395
)
396-
396+
397397
def test_set_ordering_consistency(self):
398398
"""Test that sets of types are consistently ordered in string representations."""
399399
# Test with direct set annotations
400400
def g1(x: {int, str}):
401401
pass
402-
402+
403403
anno_g1 = get_annotations(g1, format=Format.STRING)
404-
404+
405405
# The set should have elements sorted by name (int before str)
406406
self.assertEqual(anno_g1["x"], "{int, str}")
407407

0 commit comments

Comments
 (0)