This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: [easy] test_cmd_line: DeprecationWarning: invalid escape sequence \u
Type: Stage: resolved
Components: Tests Versions: Python 3.10
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Deprecation warnings in test_cmd_line and test_collections
View: 43825
Assigned To: Nosy List: shreyanavigyan, vstinner
Priority: normal Keywords: easy, newcomer friendly

Created on 2021-04-14 10:59 by vstinner, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (1)
msg391053 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2021-04-14 10:59
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
History
Date User Action Args
2022-04-11 14:59:44adminsetgithub: 88005
2021-04-14 11:32:03serhiy.storchakasetstatus: open -> closed
superseder: Deprecation warnings in test_cmd_line and test_collections
resolution: duplicate
stage: resolved
2021-04-14 11:05:22shreyanavigyansetnosy: + shreyanavigyan
2021-04-14 10:59:49vstinnercreate