Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[easy] test_cmd_line: DeprecationWarning: invalid escape sequence \u #88005

Closed
vstinner opened this issue Apr 14, 2021 · 1 comment
Closed

[easy] test_cmd_line: DeprecationWarning: invalid escape sequence \u #88005

vstinner opened this issue Apr 14, 2021 · 1 comment
Labels
3.10 only security fixes easy tests Tests in the Lib/test dir

Comments

@vstinner
Copy link
Member

BPO 43839
Nosy @vstinner, @shreyanavigyan
Superseder
  • bpo-43825: Deprecation warnings in test_cmd_line and test_collections
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2021-04-14.11:32:03.593>
    created_at = <Date 2021-04-14.10:59:49.327>
    labels = ['easy', 'tests', '3.10']
    title = '[easy] test_cmd_line: DeprecationWarning: invalid escape sequence \\u'
    updated_at = <Date 2021-04-14.11:32:03.593>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-04-14.11:32:03.593>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-04-14.11:32:03.593>
    closer = 'serhiy.storchaka'
    components = ['Tests']
    creation = <Date 2021-04-14.10:59:49.327>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43839
    keywords = ['easy', 'newcomer friendly']
    message_count = 1.0
    messages = ['391053']
    nosy_count = 2.0
    nosy_names = ['vstinner', 'shreyanavigyan']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '43825'
    type = None
    url = 'https://bugs.python.org/issue43839'
    versions = ['Python 3.10']

    @vstinner
    Copy link
    Member Author

    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

    @vstinner vstinner added 3.10 only security fixes tests Tests in the Lib/test dir easy labels Apr 14, 2021
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.10 only security fixes easy tests Tests in the Lib/test dir
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants