diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2017-02-24 14:01:11 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-24 14:01:11 -0500 |
| commit | 387b40ea4084013bd2453ffa3ed2725b715530a6 (patch) | |
| tree | a32e98067242439d3fe609cf8672045d04b5cd35 /setuptools/tests | |
| parent | 4c560effc96a75f337193bc164ad4117b0e333ab (diff) | |
| parent | e753cb42481783ac858ceb518aaac1472075063c (diff) | |
| download | external_python_setuptools-387b40ea4084013bd2453ffa3ed2725b715530a6.tar.gz external_python_setuptools-387b40ea4084013bd2453ffa3ed2725b715530a6.tar.bz2 external_python_setuptools-387b40ea4084013bd2453ffa3ed2725b715530a6.zip | |
Merge pull request #983 from scop/py36escseq
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 |
