]> granicus.if.org Git - python/commitdiff
Get --coverage to be an acceptable flag for test.regrtest again.
authorBrett Cannon <bcannon@gmail.com>
Thu, 6 Jan 2011 22:32:41 +0000 (22:32 +0000)
committerBrett Cannon <bcannon@gmail.com>
Thu, 6 Jan 2011 22:32:41 +0000 (22:32 +0000)
Doc/reference/expressions.rst
Lib/test/regrtest.py
Misc/NEWS

index 2396622722949c63f14f7a1c499dc63b60b730eb..b671c6c1be6db1ed4d6a718b15e5027bf79b1937 100644 (file)
@@ -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
index 83c9928cd35249b1df9022d8261211826f1de791..b5288b5072138436cf1bbddaf9e5ff9aaa1650fd 100755 (executable)
@@ -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)
 
index 9baf1197c7dd260d7cde5faecfa3c9e13af388de..8702e714e447bc8981910a17197ab211b04792a3 100644 (file)
--- 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.