aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command/test.py')
-rw-r--r--setuptools/command/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/test.py b/setuptools/command/test.py
index 0f96e83a..b7aef969 100644
--- a/setuptools/command/test.py
+++ b/setuptools/command/test.py
@@ -1,4 +1,4 @@
-from setuptools import Command, run_2to3
+from setuptools import Command
from distutils.errors import DistutilsOptionError
import sys
from pkg_resources import *
@@ -81,7 +81,7 @@ class test(Command):
def with_project_on_sys_path(self, func):
- if getattr(self.distribution, 'run_2to3', run_2to3):
+ if getattr(self.distribution, 'use_2to3', False):
# If we run 2to3 we can not do this inplace:
# Ensure metadata is up-to-date