summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Hupp <adam@hupp.org>2022-04-25 06:53:12 -0700
committerAdam Hupp <adam@hupp.org>2022-04-25 06:55:20 -0700
commitde97f00b128b04de65af2c480c411f4e6d0527b3 (patch)
tree607124a30f5ff85b9003593ca1163f4f7b3e93e5
parent7e760728889b3d3928310a453ebe3383adb37984 (diff)
downloadpython-magic-de97f00b128b04de65af2c480c411f4e6d0527b3.tar.gz
less surprising use of abspath
-rwxr-xr-xtest/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.py b/test/test.py
index e443b84..624a443 100755
--- a/test/test.py
+++ b/test/test.py
@@ -19,7 +19,7 @@ import sys
SKIP_FROM_DESCRIPTOR = bool(os.environ.get('SKIP_FROM_DESCRIPTOR'))
class MagicTest(unittest.TestCase):
- TESTDATA_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'testdata')
+ TESTDATA_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), 'testdata'))
def test_version(self):
try: