[issue9736] doctest.DocTestSuite doesn't handle test globs correctly

2022-03-17 Thread Jelle Zijlstra


Jelle Zijlstra  added the comment:

Yes.

--
nosy: +JelleZijlstra
resolution:  -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder:  -> doctest.DocTestCase fails when run repeatedly

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9736] doctest.DocTestSuite doesn't handle test globs correctly

2022-03-16 Thread Roundup Robot


Change by Roundup Robot :


--
nosy: +python-dev
nosy_count: 4.0 -> 5.0
pull_requests: +30024
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/31932

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9736] doctest.DocTestSuite doesn't handle test globs correctly

2013-05-29 Thread Marius Gedminas

Marius Gedminas added the comment:

This is a duplicate of issue2604, isn't it?

--
nosy: +mgedmin

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9736
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9736] doctest.DocTestSuite doesn't handle test globs correctly

2012-07-20 Thread Hugo Lopes Tavares

Hugo Lopes Tavares hlt...@gmail.com added the comment:

I see the bug was not fixed yet, and I started to investigate it.

I am attaching a test patch. I don't know if I will get it working soon, since 
I see it as a very low priority for Python.

--
keywords: +patch
nosy: +hltbra
versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2
Added file: http://bugs.python.org/file26459/issue9736_doctestsuite_test.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9736
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9736] doctest.DocTestSuite doesn't handle test globs correctly

2010-11-02 Thread Éric Araujo

Éric Araujo mer...@netwok.org added the comment:

Would you like to work on a patch?

(Setting the versions field to versions that are open for bug fixes.)

--
nosy: +eric.araujo
stage:  - needs patch
type:  - behavior
versions: +Python 3.2 -Python 2.5, Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9736
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9736] doctest.DocTestSuite doesn't handle test globs correctly

2010-11-02 Thread Jim Fulton

Jim Fulton j...@zope.com added the comment:

On Tue, Nov 2, 2010 at 5:55 PM, Éric Araujo rep...@bugs.python.org wrote:

 Éric Araujo mer...@netwok.org added the comment:

 Would you like to work on a patch?

Sure.

Jim

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9736
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9736] doctest.DocTestSuite doesn't handle test globs correctly

2010-09-01 Thread Jim Fulton

New submission from Jim Fulton j...@zope.com:

We often run test suites repeatedly using a debug build of python
to look for memory leaks.

We also got in the bad habit of using a fork of doctest. Recently, we've 
switched away from our fork and have noticed a problem with the standard 
doctest's handling of test globs (globals).

DocTestSuite gets an initial set of globals from the module the doctest's came 
from.  After running the tests, it seems to clear these, leading to errors if 
the tests are run again.

I've attached a script that illustrates the problem.  The script runs a simple 
test twice and gets a spurious failure the second time.

--
components: Library (Lib)
files: doctest_DocTestSuite_globs_breakage.py
messages: 115326
nosy: j1m
priority: normal
severity: normal
status: open
title: doctest.DocTestSuite doesn't handle test globs correctly
versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1
Added file: 
http://bugs.python.org/file18704/doctest_DocTestSuite_globs_breakage.py

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9736
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com