This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: fix for external test regression in test.regrtest
Type: Stage:
Components: Extension Modules Versions: Python 2.3
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: collinwinter, nicholas.riley
Priority: normal Keywords: patch

Created on 2003-09-17 22:48 by nicholas.riley, last changed 2022-04-10 16:11 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
regrtest-diff.txt nicholas.riley, 2003-09-17 22:48 test.regrtest external usage fix
Messages (3)
msg44657 - (view) Author: Nicholas Riley (nicholas.riley) * Date: 2003-09-17 22:48
A detailed description of the bug introduced in Python 2.3 is 
here:

http://sourceforge.net/tracker/index.php?
func=detail&aid=798274&group_id=5470&atid=105470

This patch implements the solution as suggested in the 
report: if a testdir argument is provided and the test 
module is not in a package, it attempts to import modules 
from that directory. This restores compatibility with the test 
suites I wrote in Python 2.2, and does not interfere with 
the current behavior as used by the Python regression test 
suite.
msg44658 - (view) Author: Nicholas Riley (nicholas.riley) * Date: 2003-10-02 19:09
Logged In: YES 
user_id=34933

Sorry, I'm not familiar with Python patch policies, but it seems a 
second 2.3.x release is about to be released without this patch 
included.  This makes it difficult for users of the test suite I wrote 
to use it, because they have to replace their version of 
regrtest.py with mine, or go back to Python 2.2.  Is there 
anything else I need to do in order to get this version 
incorporated?

Thanks.
msg44659 - (view) Author: Collin Winter (collinwinter) * (Python committer) Date: 2007-03-12 01:10
regrtest's purpose is to test Python; third-party projects wishing to use regrtest in their own test suites would do well to customize it for their particular needs.
History
Date User Action Args
2022-04-10 16:11:13adminsetgithub: 39249
2003-09-17 22:48:36nicholas.rileycreate