From 63eef1e0dda5ab4f0487440463a95dbad7923693 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Thu, 6 Jan 2011 22:32:41 +0000 Subject: [PATCH] Get --coverage to be an acceptable flag for test.regrtest again. --- Doc/reference/expressions.rst | 2 +- Lib/test/regrtest.py | 4 ++-- Misc/NEWS | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst index 2396622722..b671c6c1be 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 83c9928cd3..b5288b5072 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 9baf1197c7..8702e714e4 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. -- 2.40.0