1. Justin Azoff
  2. distribute


Jason R. Coombs  committed b18c9c9

Fixed test failures in the doctests on Python 3.

  • Participants
  • Parent commits abe0f7f
  • Branches default

Comments (0)

Files changed (1)

File setuptools/tests/__init__.py

View file
  • Ignore whitespace
 """Tests for the 'setuptools' package"""
 import sys
 import os
+import unittest
 import doctest
 import distutils.core
 import distutils.cmd
 from distutils.core import Extension
 from distutils.version import LooseVersion
-import unittest
 import setuptools.dist
 from setuptools import Feature
 from setuptools.depends import Require, find_module, get_module_constant, extract_constant
 def additional_tests():
+    import doctest, unittest
     suite = unittest.TestSuite((
             os.path.join('tests', 'api_tests.txt'),