Skip to content

Commit 3fe1b82

Browse files
committed
Fix test
1 parent d3f7c80 commit 3fe1b82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_long.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def test_long(self):
332332
for prefix in "", " ", "\t", " \t\t ":
333333
ss = prefix + sign + s
334334
vv = v
335-
if sign == "-" and v is not ValueError:
335+
if sign in ("-", "\N{MINUS SIGN}") and v is not ValueError:
336336
vv = -v
337337
try:
338338
self.assertEqual(int(ss), vv)

0 commit comments

Comments
 (0)