File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -350,19 +350,12 @@ def test_styleguide_unmatched_triple_quotes(self):
350
350
]
351
351
352
352
pep8style = pep8 .StyleGuide ()
353
- count_errors = pep8style .input_file ('stdin' , lines = lines )
353
+ pep8style .input_file ('stdin' , lines = lines )
354
354
stdout = sys .stdout .getvalue ()
355
- self .assertEqual (count_errors , 2 )
356
355
357
356
expected = 'stdin:2:5: E901 TokenError: EOF in multi-line string'
358
357
self .assertTrue (expected in stdout )
359
358
360
- expected = (
361
- 'stdin:2:26: '
362
- 'E901 SyntaxError: EOF while scanning triple-quoted string literal'
363
- )
364
- self .assertTrue (expected in stdout )
365
-
366
359
def test_styleguide_continuation_line_outdented (self ):
367
360
pep8 .register_check (DummyChecker , ['Z701' ])
368
361
lines = [
You can’t perform that action at this time.
0 commit comments