aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-06-17 10:20:56 -0500
committerJason R. Coombs <jaraco@jaraco.com>2013-06-17 10:20:56 -0500
commitf52d063aa81f64bbb71562510a87d3aedbad2ed9 (patch)
tree0d547a62db1d97076cb6c81db297ee91d1f819b7 /setuptools
parentb827baba9c89188f92579fe943da4f0dadde9fda (diff)
downloadexternal_python_setuptools-f52d063aa81f64bbb71562510a87d3aedbad2ed9.tar.gz
external_python_setuptools-f52d063aa81f64bbb71562510a87d3aedbad2ed9.tar.bz2
external_python_setuptools-f52d063aa81f64bbb71562510a87d3aedbad2ed9.zip
Re-save test modules with UTF-8 encoding
--HG-- branch : distribute extra : rebase_source : 6728580b2f2f10026fe0f196db7ea5510acac704 extra : histedit_source : f4fbf02bbe3e4e39caf1aa2f5a354c99d9249e65
Diffstat (limited to 'setuptools')
-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 e7022995..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
-
+