diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 23966227229..b671c6c1be6 100644 --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -7,7 +7,7 @@ Expressions .. index:: expression, BNF -This chapter explains the meaning of the elements of expressions in Python. + This chapter explains the meaning of the elements of expressions in Python. **Syntax Notes:** In this and the following chapters, extended BNF notation will be used to describe syntax, not lexical analysis. When (one alternative of) a diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 83c9928cd35..b5288b50721 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -264,8 +264,8 @@ def main(tests=None, testdir=None, verbose=0, quiet=False, 'exclude', 'single', 'slow', 'random', 'fromfile', 'findleaks', 'use=', 'threshold=', 'trace', 'coverdir=', 'nocoverdir', 'runleaks', 'huntrleaks=', 'memlimit=', 'randseed=', - 'multiprocess=', 'slaveargs=', 'forever', 'debug', 'start=', - 'nowindows', 'header']) + 'multiprocess=', 'coverage', 'slaveargs=', 'forever', 'debug', + 'start=', 'nowindows', 'header']) except getopt.error as msg: usage(msg) diff --git a/Misc/NEWS b/Misc/NEWS index 9baf1197c7d..8702e714e44 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -172,6 +172,8 @@ Tools/Demos Tests ----- +- Make the --coverage flag work for test.regrtest. + - Issue #1677694: Refactor and improve test_timeout. Original patch by Björn Lindqvist.