[Python-Dev] [Python-checkins] cpython (3.2): test_os: add TemporaryFileTests to the testcase list

Victor Stinner victor.stinner at haypocalc.com
Fri Jul 1 11:18:11 CEST 2011


I tried to find which commit removes TemporaryFileTests from the
testcase list (to see if there is a good reason to do that, or if it's
just a mistake): it's somewhere between Python 2.x and Python 3.0, but I
didn't find the commit.

Is there a tool to detect that a testcase is never executed to ensure
that there is no other forgiven testcase?

Victor

Le vendredi 01 juillet 2011 à 03:06 +0200, victor.stinner a écrit :
> http://hg.python.org/cpython/rev/00a874ad4fc9
> changeset:   71104:00a874ad4fc9
> branch:      3.2
> parent:      71101:7c60c1b41da9
> user:        Victor Stinner <victor.stinner at haypocalc.com>
> date:        Fri Jul 01 02:56:15 2011 +0200
> summary:
>   test_os: add TemporaryFileTests to the testcase list
> 
> The testcase was never executed, it's now fixed.
> 
> files:
>   Lib/test/test_os.py |  1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
> 
> 
> diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
> --- a/Lib/test/test_os.py
> +++ b/Lib/test/test_os.py
> @@ -1344,6 +1344,7 @@
>          PidTests,
>          LoginTests,
>          LinkTests,
> +        TemporaryFileTests,
>      )




More information about the Python-Dev mailing list