Skip to content

Commit d963a09

Browse files
committed
Update tests: Remove disallowance of precision for int in test_types.py
1 parent b636dd9 commit d963a09

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
@@ -387,8 +387,6 @@ def test(i, format_spec, result):
387387

388388
# make sure these are errors
389389

390-
# precision disallowed
391-
self.assertRaises(ValueError, 3 .__format__, "1.3")
392390
# sign not allowed with 'c'
393391
self.assertRaises(ValueError, 3 .__format__, "+c")
394392
# format spec must be string

0 commit comments

Comments
 (0)