summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_develop.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-03-21 05:55:44 -0400
committerJason R. Coombs <jaraco@jaraco.com>2020-03-21 05:55:44 -0400
commitcfbefe5715e31db3c8cac70f7a1cd1c16fd4b5a7 (patch)
tree1551248b2a29b34b26388ea68fe994854f3e84e2 /setuptools/tests/test_develop.py
parent7843688bc33dd4e13e10130bc49da4c290fe7d7f (diff)
parent060445bfb557a1d0f6b726716dafa6bacaa44c34 (diff)
downloadpython-setuptools-git-cfbefe5715e31db3c8cac70f7a1cd1c16fd4b5a7.tar.gz
Merge branch 'master' into jorikdima-master
Diffstat (limited to 'setuptools/tests/test_develop.py')
-rw-r--r--setuptools/tests/test_develop.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/test_develop.py b/setuptools/tests/test_develop.py
index 00d4bd9a..792975fd 100644
--- a/setuptools/tests/test_develop.py
+++ b/setuptools/tests/test_develop.py
@@ -95,7 +95,7 @@ class TestDevelop:
with io.open(fn) as init_file:
init = init_file.read().strip()
- expected = 'print("foo")' if six.PY3 else 'print "foo"'
+ expected = 'print "foo"' if six.PY2 else 'print("foo")'
assert init == expected
def test_console_scripts(self, tmpdir):
@@ -161,7 +161,7 @@ class TestNamespaces:
reason="https://github.com/pypa/setuptools/issues/851",
)
@pytest.mark.skipif(
- platform.python_implementation() == 'PyPy' and six.PY3,
+ platform.python_implementation() == 'PyPy' and not six.PY2,
reason="https://github.com/pypa/setuptools/issues/1202",
)
def test_namespace_package_importable(self, tmpdir):