fix: change accidental overwrite of reserved __dir__
This commit is contained in:
parent
ce48730bd5
commit
beb7c57a6b
@ -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 == [
|
||||
|
Loading…
Reference in New Issue
Block a user