Skip to content

Commit 2b56483

Browse files
committed
Generate shorter temp dir.
1 parent a27cb63 commit 2b56483

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/test_benchmark.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ def test_columns(testdir):
12111211
)
12121212

12131213

1214-
def test_generate_csv_report_for_parametrize_tests(testdir):
1214+
def test_compare_csv(testdir):
12151215
test = testdir.makepyfile("""
12161216
import pytest
12171217
@pytest.mark.parametrize("arg", ["foo", "bar"])
@@ -1230,9 +1230,5 @@ def func():
12301230
'Saved benchmark data in: *',
12311231
]
12321232
)
1233-
result = testdir.run(
1234-
'py.test-benchmark',
1235-
'compare',
1236-
'--csv',
1237-
)
1233+
result = testdir.run('py.test-benchmark', 'compare', '--csv')
12381234
result.stderr.fnmatch_lines(['Generated csv: *.csv'])

0 commit comments

Comments
 (0)