aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_test.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2013-06-19 11:45:38 +0100
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2013-06-19 11:45:38 +0100
commit8d016844c5934fe8f7ee4c559ab5a1f2133fa6dc (patch)
tree199a8e4792f87c951fcf82197061c35e5805d100 /setuptools/tests/test_test.py
parent744a61f18bbfcbf7dfaa08886185b4595d8b7bcb (diff)
parent5d9d3930f400a754f38be2a4de21a7f9ed00f5f4 (diff)
downloadexternal_python_setuptools-8d016844c5934fe8f7ee4c559ab5a1f2133fa6dc.tar.gz
external_python_setuptools-8d016844c5934fe8f7ee4c559ab5a1f2133fa6dc.tar.bz2
external_python_setuptools-8d016844c5934fe8f7ee4c559ab5a1f2133fa6dc.zip
Merged upstream changes.
--HG-- branch : single-codebase
Diffstat (limited to 'setuptools/tests/test_test.py')
-rw-r--r--setuptools/tests/test_test.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/setuptools/tests/test_test.py b/setuptools/tests/test_test.py
index d6e68590..7a06a403 100644
--- a/setuptools/tests/test_test.py
+++ b/setuptools/tests/test_test.py
@@ -1,4 +1,4 @@
-# -*- coding: UTF-8 -*-
+# -*- coding: UTF-8 -*-
"""develop tests
"""
@@ -23,7 +23,7 @@ setup(name='foo',
)
"""
-NS_INIT = """# -*- coding: Latin-1 -*-
+NS_INIT = """# -*- coding: Latin-1 -*-
# Söme Arbiträry Ünicode to test Issüé 310
try:
__import__('pkg_resources').declare_namespace(__name__)
@@ -77,7 +77,7 @@ class TestTestTest(unittest.TestCase):
f = open(init, 'wt')
f.write(TEST_PY)
f.close()
-
+
os.chdir(self.dir)
self.old_base = site.USER_BASE
site.USER_BASE = tempfile.mkdtemp()
@@ -87,7 +87,7 @@ class TestTestTest(unittest.TestCase):
def tearDown(self):
if sys.version < "2.6" or hasattr(sys, 'real_prefix'):
return
-
+
os.chdir(self.old_cwd)
shutil.rmtree(self.dir)
shutil.rmtree(site.USER_BASE)
@@ -98,7 +98,7 @@ class TestTestTest(unittest.TestCase):
def test_test(self):
if sys.version < "2.6" or hasattr(sys, 'real_prefix'):
return
-
+
dist = Distribution(dict(
name='foo',
packages=['name', 'name.space', 'name.space.tests'],
@@ -121,4 +121,4 @@ class TestTestTest(unittest.TestCase):
pass
finally:
sys.stdout = old_stdout
- \ No newline at end of file
+