From 5aaf07c23af59abce40dced60875301ad9557b2c Mon Sep 17 00:00:00 2001 From: Adam Hupp Date: Wed, 11 Dec 2019 22:35:46 -0800 Subject: actually fix CI --- test/run.sh | 1 - test/test.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/test/run.sh b/test/run.sh index ebd7976..106a1e4 100755 --- a/test/run.sh +++ b/test/run.sh @@ -1,6 +1,5 @@ #!/bin/sh -set -e; # ensure we can use unicode filenames in the test export LC_ALL=en_US.UTF-8 diff --git a/test/test.py b/test/test.py index 3d835c1..62e8a03 100755 --- a/test/test.py +++ b/test/test.py @@ -150,7 +150,7 @@ class MagicTest(unittest.TestCase): def test_name_count(self): m = magic.Magic() - with open('testdata/python-3.7.2-python-magic-0.4.15.jpg', 'rb') as f: + with open(os.path.join(self.TESTDATA_DIR, 'name_use.jpg'), 'rb') as f: m.from_buffer(f.read()) if __name__ == '__main__': -- cgit v1.2.1