Skip to content

Commit 8b43360

Browse files
committed
Update tests: Remove disallowance of precision for int in test_types.py
1 parent 3810589 commit 8b43360

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/test/test_types.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,6 @@ def test(i, format_spec, result):
357357

358358
# make sure these are errors
359359

360-
# precision disallowed
361-
self.assertRaises(ValueError, 3 .__format__, "1.3")
362360
# sign not allowed with 'c'
363361
self.assertRaises(ValueError, 3 .__format__, "+c")
364362
# format spec must be string

0 commit comments

Comments
 (0)