summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--benchmarks/benchmarks/bench_io.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/benchmarks/benchmarks/bench_io.py b/benchmarks/benchmarks/bench_io.py
index 879f9b69e..439cd422f 100644
--- a/benchmarks/benchmarks/bench_io.py
+++ b/benchmarks/benchmarks/bench_io.py
@@ -66,7 +66,8 @@ class Savez(Benchmark):
self.squares = get_squares()
def time_vb_savez_squares(self):
- np.savez('tmp.npz', self.squares)
+ np.savez('tmp.npz', **self.squares)
+
class LoadtxtCSVComments(Benchmark):
# benchmarks for np.loadtxt comment handling