diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-11-23 20:32:07 -0600 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-11-23 20:32:07 -0600 |
commit | b40a0c18b142a33714fc9ba8205cb8da48403404 (patch) | |
tree | 1015e654b61a66f063b82af34a19c5eb5f997543 /bench/empty.py | |
parent | ac5992f9a18c15d0bf7f989ebf1c2c47a076ac17 (diff) | |
download | pytest-b40a0c18b142a33714fc9ba8205cb8da48403404.tar.gz |
python3 fixes
Diffstat (limited to 'bench/empty.py')
-rw-r--r-- | bench/empty.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/empty.py b/bench/empty.py index c9e2e6b5f..ac5e25701 100644 --- a/bench/empty.py +++ b/bench/empty.py @@ -1,3 +1,3 @@ - +import py for i in range(1000): - exec "def test_func_%d(): pass" % i + py.builtin.exec_("def test_func_%d(): pass" % i) |