Skip to content

Commit 6b65314

Browse files
committed
reduce a bit the diff
1 parent ae37e95 commit 6b65314

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Lib/test/test_sys.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -297,19 +297,19 @@ def check_exit_message(code, expected, **env_vars):
297297
# into stderr
298298
check_exit_message(
299299
sys_exit_impl("'message'", 'sys.stderr.write("unflushed,")'),
300-
b"unflushed,message"
301-
)
300+
b"unflushed,message")
302301

303302
# test that the exit message is written with backslashreplace error
304303
# handler to stderr
305-
check_exit_message(sys_exit_impl(r"'surrogates:\uDCFF'"),
306-
b"surrogates:\\udcff")
304+
check_exit_message(
305+
sys_exit_impl(r"'surrogates:\uDCFF'"),
306+
b"surrogates:\\udcff")
307307

308308
# test that the unicode message is encoded to the stderr encoding
309309
# instead of the default encoding (utf8)
310-
check_exit_message(sys_exit_impl(r"'h\xe9'"), b"h\xe9",
311-
PYTHONIOENCODING='latin-1')
312-
310+
check_exit_message(
311+
sys_exit_impl(r"'h\xe9'"),
312+
b"h\xe9", PYTHONIOENCODING='latin-1')
313313

314314
@support.requires_subprocess()
315315
def test_exit_codes_under_repl(self):

0 commit comments

Comments
 (0)