diff options
| author | Ville Skyttä <ville.skytta@iki.fi> | 2017-02-24 10:55:44 +0200 |
|---|---|---|
| committer | Ville Skyttä <ville.skytta@iki.fi> | 2017-02-24 19:37:39 +0200 |
| commit | e753cb42481783ac858ceb518aaac1472075063c (patch) | |
| tree | a32e98067242439d3fe609cf8672045d04b5cd35 /setuptools/tests | |
| parent | 4c560effc96a75f337193bc164ad4117b0e333ab (diff) | |
| download | external_python_setuptools-e753cb42481783ac858ceb518aaac1472075063c.tar.gz external_python_setuptools-e753cb42481783ac858ceb518aaac1472075063c.tar.bz2 external_python_setuptools-e753cb42481783ac858ceb518aaac1472075063c.zip | |
Python 3.6 invalid escape sequence deprecation fixes
Diffstat (limited to 'setuptools/tests')
| -rw-r--r-- | setuptools/tests/test_bdist_egg.py | 2 | ||||
| -rw-r--r-- | setuptools/tests/test_easy_install.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/test_bdist_egg.py b/setuptools/tests/test_bdist_egg.py index 5aabf404..d24aa366 100644 --- a/setuptools/tests/test_bdist_egg.py +++ b/setuptools/tests/test_bdist_egg.py @@ -41,4 +41,4 @@ class Test: # let's see if we got our egg link at the right place [content] = os.listdir('dist') - assert re.match('foo-0.0.0-py[23].\d.egg$', content) + assert re.match(r'foo-0.0.0-py[23].\d.egg$', content) diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py index b75e6ff2..fd8300a0 100644 --- a/setuptools/tests/test_easy_install.py +++ b/setuptools/tests/test_easy_install.py @@ -65,7 +65,7 @@ class TestEasyInstallTest: def test_get_script_args(self): header = ei.CommandSpec.best().from_environment().as_header() - expected = header + DALS(""" + expected = header + DALS(r""" # EASY-INSTALL-ENTRY-SCRIPT: 'spec','console_scripts','name' __requires__ = 'spec' import re |
