fix build error on windows

This commit is contained in:
PyYoshi 2017-03-28 01:11:47 +09:00
parent 9264f49bd0
commit 1529daac97

View file

@ -29,7 +29,7 @@ class TestCChardet():
def test_detect(self):
testfiles = glob.glob('tests/testdata/*/*.txt')
for testfile in testfiles:
if testfile in SKIP_LIST:
if testfile.replace("\\", "/") in SKIP_LIST:
continue
base = os.path.basename(testfile)