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

Fix an invalid escape sequence #4728

Merged
merged 1 commit into from
Jul 9, 2018
Merged

Fix an invalid escape sequence #4728

merged 1 commit into from
Jul 9, 2018

Conversation

yan12125
Copy link
Contributor

@yan12125 yan12125 commented Jul 8, 2018

Fix errors like this:

$ python -W error -c 'import requests'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/yen/Projects/requests/requests/__init__.py", line 114, in <module>
    from .models import Request, Response, PreparedRequest
  File "/Users/yen/Projects/requests/requests/models.py", line 43, in <module>
    from .status_codes import codes
  File "/Users/yen/Projects/requests/requests/status_codes.py", line 18
    """
SyntaxError: invalid escape sequence \o

Context: the buildbot test suite treats all warnings as errors.

@codecov-io
Copy link

codecov-io commented Jul 8, 2018

Codecov Report

Merging #4728 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4728   +/-   ##
=======================================
  Coverage   66.79%   66.79%           
=======================================
  Files          15       15           
  Lines        1563     1563           
=======================================
  Hits         1044     1044           
  Misses        519      519
Impacted Files Coverage Δ
requests/status_codes.py 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ef88b9f...b1a360c. Read the comment docs.

@sigmavirus24 sigmavirus24 merged commit 4499401 into psf:master Jul 9, 2018
@yan12125 yan12125 deleted the patch-1 branch July 20, 2018 06:39
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants