[Python-checkins] r87812 - in python/branches/py3k: Doc/reference/expressions.rst Lib/test/regrtest.py Misc/NEWS

brett.cannon python-checkins at python.org
Thu Jan 6 23:32:41 CET 2011


Author: brett.cannon
Date: Thu Jan  6 23:32:41 2011
New Revision: 87812

Log:
Get --coverage to be an acceptable flag for test.regrtest again.


Modified:
   python/branches/py3k/Doc/reference/expressions.rst
   python/branches/py3k/Lib/test/regrtest.py
   python/branches/py3k/Misc/NEWS

Modified: python/branches/py3k/Doc/reference/expressions.rst
==============================================================================
--- python/branches/py3k/Doc/reference/expressions.rst	(original)
+++ python/branches/py3k/Doc/reference/expressions.rst	Thu Jan  6 23:32:41 2011
@@ -7,7 +7,7 @@
 
 .. 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

Modified: python/branches/py3k/Lib/test/regrtest.py
==============================================================================
--- python/branches/py3k/Lib/test/regrtest.py	(original)
+++ python/branches/py3k/Lib/test/regrtest.py	Thu Jan  6 23:32:41 2011
@@ -264,8 +264,8 @@
              '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)
 

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Thu Jan  6 23:32:41 2011
@@ -172,6 +172,8 @@
 Tests
 -----
 
+- Make the --coverage flag work for test.regrtest.
+
 - Issue #1677694: Refactor and improve test_timeout.  Original patch by
   Björn Lindqvist.
 


More information about the Python-checkins mailing list