From 1529daac9720e8a756b881f38e877ff13bcb5b3f Mon Sep 17 00:00:00 2001 From: PyYoshi Date: Tue, 28 Mar 2017 01:11:47 +0900 Subject: [PATCH] fix build error on windows --- src/tests/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/test.py b/src/tests/test.py index b40e1c0..78c1bea 100644 --- a/src/tests/test.py +++ b/src/tests/test.py @@ -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)