[issue43839] [easy] test_cmd_line: DeprecationWarning: invalid escape sequence \u

STINNER Victor report at bugs.python.org
Wed Apr 14 06:59:49 EDT 2021


New submission from STINNER Victor <vstinner at python.org>:

Does someone want to propose a fix for the following warning?

$ ./python -m test test_cmd_line
0:00:00 load avg: 6.45 Run tests sequentially
0:00:00 load avg: 6.45 [1/1] test_cmd_line
/home/vstinner/python/master/Lib/test/test_cmd_line.py:865: DeprecationWarning: invalid escape sequence \u
  self.check_string(b"'\u1f'")

== Tests result: SUCCESS ==

1 test OK.

Total duration: 15.9 sec
Tests result: SUCCESS

----------
components: Tests
keywords: easy, newcomer friendly
messages: 391053
nosy: vstinner
priority: normal
severity: normal
status: open
title: [easy] test_cmd_line: DeprecationWarning: invalid escape sequence \u
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43839>
_______________________________________


More information about the Python-bugs-list mailing list