aboutsummaryrefslogtreecommitdiff
path: root/test/test_unicode_literals.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_unicode_literals.py')
-rw-r--r--test/test_unicode_literals.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_unicode_literals.py b/test/test_unicode_literals.py
index 94497054a..a4ba7bad0 100644
--- a/test/test_unicode_literals.py
+++ b/test/test_unicode_literals.py
@@ -7,6 +7,10 @@ import unittest
rootDir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
+IGNORED_FILES = [
+ 'setup.py', # http://bugs.python.org/issue13943
+]
+
class TestUnicodeLiterals(unittest.TestCase):
def test_all_files(self):
@@ -17,6 +21,9 @@ class TestUnicodeLiterals(unittest.TestCase):
for basename in filenames:
if not basename.endswith('.py'):
continue
+ if basename in IGNORED_FILES:
+ continue
+
fn = os.path.join(dirpath, basename)
with io.open(fn, encoding='utf-8') as inf:
code = inf.read()