Skip to content

Commit a8bcdee

Browse files
committed
Fix file cleanup after benchmark runs.
1 parent 322965f commit a8bcdee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lockbench.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def main():
259259

260260
finally:
261261
if basepath:
262-
files = glob.glob(basepath)
262+
files = glob.glob(basepath + ".*") # .c, .so / .pyd
263263
if len(files) > 3:
264264
print("Found too many artefacts, not deleting temporary files")
265265
else:

0 commit comments

Comments
 (0)