mirror of https://github.com/python/cpython
Tools/importbench: Fix a misplaced stderr= (GH-12690)
This commit is contained in:
parent
ded4737989
commit
2a4ce4387f
|
@ -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…
Reference in New Issue