fix build error on windows
This commit is contained in:
parent
9264f49bd0
commit
1529daac97
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class TestCChardet():
|
||||||
def test_detect(self):
|
def test_detect(self):
|
||||||
testfiles = glob.glob('tests/testdata/*/*.txt')
|
testfiles = glob.glob('tests/testdata/*/*.txt')
|
||||||
for testfile in testfiles:
|
for testfile in testfiles:
|
||||||
if testfile in SKIP_LIST:
|
if testfile.replace("\\", "/") in SKIP_LIST:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
base = os.path.basename(testfile)
|
base = os.path.basename(testfile)
|
||||||
|
|
Loading…
Reference in a new issue