summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/reference/expressions.rst2
-rwxr-xr-xLib/test/regrtest.py4
-rw-r--r--Misc/NEWS2
3 files changed, 5 insertions, 3 deletions
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
index 2396622..b671c6c 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 83c9928..b5288b5 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 9baf119..8702e71 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.