From beb7c57a6b99f36ea2323976d8e318e37b800b68 Mon Sep 17 00:00:00 2001 From: Davide Romanini Date: Sun, 20 Oct 2019 00:36:13 +0200 Subject: [PATCH] fix: change accidental overwrite of reserved __dir__ --- tests/test_comicarchive.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_comicarchive.py b/tests/test_comicarchive.py index d6f0604..6a6b1e5 100644 --- a/tests/test_comicarchive.py +++ b/tests/test_comicarchive.py @@ -1,11 +1,11 @@ from os.path import dirname, abspath, join from comicapi.comicarchive import ComicArchive -__dir__ = dirname(abspath(__file__)) +thisdir = dirname(abspath(__file__)) def test_getPageNameList(): ComicArchive.logo_data = b'' - c = ComicArchive(join(__dir__, "fake_cbr.cbr")) + c = ComicArchive(join(thisdir, "fake_cbr.cbr")) pageNameList = c.getPageNameList() assert pageNameList == [