aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-11-07 04:08:04 -0500
committerJason R. Coombs <jaraco@jaraco.com>2016-11-07 04:08:04 -0500
commit3caf0231808268654570492a0623e72b22988243 (patch)
tree8aec798811b70b5a3745a4fc436188557e85cb62
parentfd623755cad7ee9fc1492029f4ebdde8ae6b1c1a (diff)
downloadexternal_python_setuptools-3caf0231808268654570492a0623e72b22988243.tar.gz
external_python_setuptools-3caf0231808268654570492a0623e72b22988243.tar.bz2
external_python_setuptools-3caf0231808268654570492a0623e72b22988243.zip
Move imports to top and use absolute_import for Python 2.7 compatibility
-rw-r--r--setuptools/tests/test_develop.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/setuptools/tests/test_develop.py b/setuptools/tests/test_develop.py
index 8e905357..d6c24219 100644
--- a/setuptools/tests/test_develop.py
+++ b/setuptools/tests/test_develop.py
@@ -1,9 +1,14 @@
"""develop tests
"""
+
+from __future__ import absolute_import
+
import os
import site
import sys
import io
+import textwrap
+import subprocess
from setuptools.extern import six
@@ -116,10 +121,6 @@ class TestDevelop:
# assert '0.0' not in foocmd_text
-import textwrap
-import subprocess
-
-
class TestNamespaces:
@staticmethod
def build_namespace_package(tmpdir, name):