Commit b573811d authored by Kirill Smelkov's avatar Kirill Smelkov

bigfile/bench_1filezodb: Fix thinko when importing pygolang

Pygolang egg provides "golang" python package, not "pygolang".
Bug introduced in 5c8340d2 (*: Use defer for dbclose & friends).
parent bd1fb19e
# Wendelin.bigfile | benchmarks for zodb backend # Wendelin.bigfile | benchmarks for zodb backend
# Copyright (C) 2014-2019 Nexedi SA and Contributors. # Copyright (C) 2014-2020 Nexedi SA and Contributors.
# Kirill Smelkov <kirr@nexedi.com> # Kirill Smelkov <kirr@nexedi.com>
# #
# This program is free software: you can Use, Study, Modify and Redistribute # This program is free software: you can Use, Study, Modify and Redistribute
...@@ -24,7 +24,7 @@ from wendelin.lib.mem import memset ...@@ -24,7 +24,7 @@ from wendelin.lib.mem import memset
from wendelin.lib.testing import getTestDB, Adler32, nulladler32_bysize, ffadler32_bysize from wendelin.lib.testing import getTestDB, Adler32, nulladler32_bysize, ffadler32_bysize
from wendelin.lib.zodb import dbclose from wendelin.lib.zodb import dbclose
import transaction import transaction
from pygolang import defer, func from golang import defer, func
testdb = None testdb = None
from wendelin.bigfile.tests.bench_0virtmem import filesize, blksize # to get comparable timings from wendelin.bigfile.tests.bench_0virtmem import filesize, blksize # to get comparable timings
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment