summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_develop.py
diff options
context:
space:
mode:
authorSteve Kowalik <steven@wedontsleep.org>2016-01-07 14:07:33 +1100
committerSteve Kowalik <steven@wedontsleep.org>2016-01-07 14:07:33 +1100
commit337ea160558acc352c8a61b9d27c93d1f9e09618 (patch)
tree52272a24ccb0b3be0d2349956c5fd44e5e65e565 /setuptools/tests/test_develop.py
parent3bd5118eaa87b4f6598e0a473fec3623b6579d3b (diff)
parentd49c41c6ebc16371efabe0b92b417457cf9c47d7 (diff)
downloadpython-setuptools-git-337ea160558acc352c8a61b9d27c93d1f9e09618.tar.gz
Merge from default.
Diffstat (limited to 'setuptools/tests/test_develop.py')
-rw-r--r--setuptools/tests/test_develop.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setuptools/tests/test_develop.py b/setuptools/tests/test_develop.py
index ab5da00e..1b844499 100644
--- a/setuptools/tests/test_develop.py
+++ b/setuptools/tests/test_develop.py
@@ -5,12 +5,13 @@ import site
import sys
import io
+from setuptools.extern import six
+
import pytest
from setuptools.command.develop import develop
from setuptools.dist import Distribution
from . import contexts
-from setuptools.compat import PY3
SETUP_PY = """\
@@ -85,7 +86,7 @@ class TestDevelop:
with io.open(fn) as init_file:
init = init_file.read().strip()
- expected = 'print("foo")' if PY3 else 'print "foo"'
+ expected = 'print("foo")' if six.PY3 else 'print "foo"'
assert init == expected
def test_console_scripts(self, tmpdir):