Update tests/mgbench/dataset_creator.py
Co-authored-by: Jure Bajic <jure.bajic@memgraph.com>
This commit is contained in:
parent
edeebf46ec
commit
1d18f1197f
@ -67,7 +67,7 @@ def main():
|
||||
assert percentage_of_permissions > 0.0 and percentage_of_permissions <= 1.0
|
||||
assert filename != ""
|
||||
|
||||
f = open(filename, "w")
|
||||
with open(filename, "w") as f:
|
||||
|
||||
f.write("MATCH (n) DETACH DELETE n;\n")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user