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()