PyPy patch for testing module

This commit is contained in:
Miroslav Stampar
2021-09-29 23:01:32 +02:00
parent 08eeb0fd88
commit aeaa776ca9
4 changed files with 13 additions and 3 deletions

View File

@@ -433,7 +433,7 @@ def _setHashDB():
if os.path.exists(conf.hashDBFile):
if conf.flushSession:
if conf.hashDB:
conf.hashDB.close()
conf.hashDB.closeAll()
try:
os.remove(conf.hashDBFile)