mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-02-18 17:20:07 -05:00
Make tear down more robust on Unix
This commit is contained in:
parent
d06a89bc15
commit
bb35553a58
@ -45,7 +45,9 @@ class BaseTest(unittest.TestCase):
|
||||
import atexit
|
||||
atexit.register(shutil.rmtree, x)
|
||||
else:
|
||||
raise
|
||||
import time
|
||||
time.sleep(1)
|
||||
shutil.rmtree(x)
|
||||
|
||||
def create_db(self, library_path):
|
||||
from calibre.library.database2 import LibraryDatabase2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user