mirror of
https://github.com/python/cpython.git
synced 2025-12-10 11:00:14 +00:00
Tools/importbench: Fix a misplaced stderr= (GH-12690)
This commit is contained in:
parent
ded4737989
commit
2a4ce4387f
1 changed files with 2 additions and 2 deletions
|
|
@ -183,8 +183,8 @@ def main(import_, options):
|
||||||
benchmarks = [b]
|
benchmarks = [b]
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
print('Unknown benchmark: {!r}'.format(options.benchmark,
|
print('Unknown benchmark: {!r}'.format(options.benchmark),
|
||||||
file=sys.stderr))
|
file=sys.stderr)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
seconds = 1
|
seconds = 1
|
||||||
seconds_plural = 's' if seconds > 1 else ''
|
seconds_plural = 's' if seconds > 1 else ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue