X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=test%2Ftest_unicode_literals.py;h=a4ba7bad03b85f7c7e69ded7b435898c7b17e11e;hb=3e8fcd9fa1ae23ee3f0370dd948411a5f74c03dc;hp=5f88ac2f87393f2adddf2416689fdfb510b056b6;hpb=6febd1c1df02870bf8b529ca758d7155cf65ab35;p=youtube-dl diff --git a/test/test_unicode_literals.py b/test/test_unicode_literals.py index 5f88ac2f8..a4ba7bad0 100644 --- a/test/test_unicode_literals.py +++ b/test/test_unicode_literals.py @@ -7,16 +7,23 @@ 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): - print('Skipping this test (not yet fully implemtned)') + print('Skipping this test (not yet fully implemented)') return for dirpath, _, filenames in os.walk(rootDir): 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()