File tree Expand file tree Collapse file tree 1 file changed +2
-19
lines changed
Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -339,26 +339,9 @@ def test_pep7_condition(self):
339339 }
340340 """
341341 output = ""
342- with self .assertRaises (Exception ):
343- self .run_cases_test (input , output )
344-
345-
346- def test_escapes_in_condition (self ):
347- input = """
348- inst(OP, (arg1 -- out)) {
349- if (escaping_call(arg1)) {
350- out = 0;
351- }
352- else {
353- out = 1;
354- }
355- }
356- """
357- output = ""
358- with self .assertRaises (Exception ):
342+ with self .assertRaises (SyntaxError ):
359343 self .run_cases_test (input , output )
360344
361-
362345 def test_error_if_plain (self ):
363346 input = """
364347 inst(OP, (--)) {
@@ -888,7 +871,7 @@ def test_deopt_and_exit(self):
888871 }
889872 """
890873 output = ""
891- with self .assertRaises (Exception ):
874+ with self .assertRaises (SyntaxError ):
892875 self .run_cases_test (input , output )
893876
894877 def test_array_of_one (self ):
You can’t perform that action at this time.
0 commit comments