Skip to content

Commit 39a1186

Browse files
committed
Remove duplicate assertion in builtins tests
The other instance of this assertion is commented out because it fails on Python 3.5; see commit 7959135 (Disable two assertions in builtins tests for Py3.5 compatibility).
1 parent 6b8341c commit 39a1186

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/test_future/test_builtins.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,6 @@ def test_compile(self):
529529
self.assertRaises(TypeError, compile, 'pass', '?', 'exec',
530530
mode='eval', source='0', filename='tmp')
531531
compile('print("\xe5")\n', '', 'exec')
532-
self.assertRaises(TypeError, compile, chr(0), 'f', 'exec')
533532
self.assertRaises(ValueError, compile, str('a = 1'), 'f', 'bad')
534533

535534
# test the optimize argument

0 commit comments

Comments
 (0)