aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/testdata/fake_converter.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/testdata/fake_converter.py b/test/testdata/fake_converter.py
index ab27064..4eb359e 100644
--- a/test/testdata/fake_converter.py
+++ b/test/testdata/fake_converter.py
@@ -26,6 +26,7 @@ for i in range(RANGE):
}))
time.sleep(0.1)
-with file(output, 'w') as f:
+file = open(output, 'w')
+with file as f:
f.write('blank')
print(json.dumps({'finished': True}))