File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,9 @@ def test_report_errors(capsys):
5353WARNING: msg4
5454DEBUG: msg4
5555NOTSET: msg4
56- '''
56+ ''' . splitlines ( False )
5757 assert '' == err
58- assert expected_out == out
58+ assert expected_out == out . splitlines ( False )
5959
6060
6161def test_report_errors_without_verbose (capsys ):
@@ -73,9 +73,9 @@ def test_report_errors_without_verbose(capsys):
7373 expected_out = '''CRITICAL: msg1
7474ERROR: msg2
7575WARNING: msg4
76- '''
76+ ''' . splitlines ( False )
7777 assert '' == err
78- assert expected_out == out
78+ assert expected_out == out . splitlines ( False )
7979
8080
8181def test_report_errors_does_not_report_duplicate_errors (capsys ):
@@ -147,8 +147,8 @@ def test_report_errors_with_verbose_flag(capsys):
147147WARNING: msg4
148148DEBUG: msg4
149149NOTSET: msg4
150- ''' )
151- assert expected_out == out
150+ ''' ). splitlines ( False )
151+ assert expected_out == out . splitlines ( False )
152152 assert '' == err
153153
154154
You can’t perform that action at this time.
0 commit comments