fix: change accidental overwrite of reserved __dir__

This commit is contained in:
Davide Romanini 2019-10-20 00:36:13 +02:00
parent ce48730bd5
commit beb7c57a6b

View File

@ -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 == [