diff options
author | Benoit Pierre <benoit.pierre@gmail.com> | 2019-11-14 19:09:20 +0100 |
---|---|---|
committer | Benoit Pierre <benoit.pierre@gmail.com> | 2019-11-15 11:41:44 +0100 |
commit | fed59d837495208c13cec64b5394cdd2cc3cb6de (patch) | |
tree | 153f75964dd8793c23451a3ae06a80189e9f795e /setuptools/tests | |
parent | 55994609aaebecdfb7b8da4945ce0ed799d344c9 (diff) | |
download | external_python_setuptools-fed59d837495208c13cec64b5394cdd2cc3cb6de.tar.gz external_python_setuptools-fed59d837495208c13cec64b5394cdd2cc3cb6de.tar.bz2 external_python_setuptools-fed59d837495208c13cec64b5394cdd2cc3cb6de.zip |
tests: fix some pytest warnings under Python 2
Diffstat (limited to 'setuptools/tests')
-rw-r--r-- | setuptools/tests/test_integration.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/test_integration.py b/setuptools/tests/test_integration.py index 1c0b2b18..f1a27f8b 100644 --- a/setuptools/tests/test_integration.py +++ b/setuptools/tests/test_integration.py @@ -64,7 +64,7 @@ def install_context(request, tmpdir, monkeypatch): monkeypatch.setattr('site.USER_BASE', user_base.strpath) monkeypatch.setattr('site.USER_SITE', user_site.strpath) monkeypatch.setattr('sys.path', sys.path + [install_dir.strpath]) - monkeypatch.setenv('PYTHONPATH', os.path.pathsep.join(sys.path)) + monkeypatch.setenv(str('PYTHONPATH'), str(os.path.pathsep.join(sys.path))) # Set up the command for performing the installation. dist = Distribution() |