Skip to content

Commit 236dab3

Browse files
committed
+1
1 parent a2c5ff8 commit 236dab3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_struct.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ def test_c_complex_round_trip(self):
10011001
round_trip = struct.unpack(f, struct.pack(f, z))[0]
10021002
self.assertComplexesAreIdentical(z, round_trip)
10031003
z = 1+1j
1004-
for f in ['F', 'D', '>F', '>D', '<F', '<D']:
1004+
for fmt in ['F', 'D', '>F', '>D', '<F', '<D']:
10051005
with self.subTest(format=fmt):
10061006
with warnings.catch_warnings():
10071007
warnings.simplefilter("error", DeprecationWarning)

0 commit comments

Comments
 (0)