Skip to content

Commit d29ca67

Browse files
committed
remove test about argument is not enough
1 parent edc202c commit d29ca67

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Lib/test/test_ast.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,12 +373,8 @@ def test_nodeclasses(self):
373373
self.assertEqual(x.right, 3)
374374
self.assertEqual(x.lineno, 0)
375375

376-
# node raises exception when not given enough arguments
377-
self.assertRaises(TypeError, ast.BinOp, 1, 2)
378376
# node raises exception when given too many arguments
379377
self.assertRaises(TypeError, ast.BinOp, 1, 2, 3, 4)
380-
# node raises exception when not given enough arguments
381-
self.assertRaises(TypeError, ast.BinOp, 1, 2, lineno=0)
382378
# node raises exception when given too many arguments
383379
self.assertRaises(TypeError, ast.BinOp, 1, 2, 3, 4, lineno=0)
384380

0 commit comments

Comments
 (0)