DeprecationWarning: invalid escape sequence \u

Bug #1986421 reported by Takashi Natsume
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Takashi Natsume

Bug Description

Running "tox -e py38", the following deprecation warning appears.

/tmp/neutron/neutron/tests/unit/test_wsgi.py:582: DeprecationWarning: invalid escape sequence \u
  data = b'{"a": "\u7f51\u7edc"}'

Changed in neutron:
assignee: nobody → Takashi Natsume (natsume-takashi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/853051

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/853051
Committed: https://opendev.org/openstack/neutron/commit/e230301a7e66517b219bc51a17fe09045fe925e0
Submitter: "Zuul (22348)"
Branch: master

commit e230301a7e66517b219bc51a17fe09045fe925e0
Author: Takashi Natsume <email address hidden>
Date: Sat Aug 13 18:42:40 2022 +0900

    Fix a deprecation warning about escape sequence

    Fix the following deprecation warning.

      DeprecationWarning: invalid escape sequence \u

    Change-Id: Iab460d6c9ff2dbcbf8285567708f169a856eb495
    Closes-Bug: 1986421
    Signed-off-by: Takashi Natsume <email address hidden>

Changed in neutron:
status: In Progress → Fix Released
Changed in neutron:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 21.0.0.0rc1

This issue was fixed in the openstack/neutron 21.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.