[Patches] [ python-Patches-808210 ] fix for external test regression in test.regrtest

SourceForge.net noreply at sourceforge.net
Wed Sep 17 18:48:44 EDT 2003


Patches item #808210, was opened at 2003-09-17 17:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=808210&group_id=5470

Category: Modules
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Nicholas Riley (nriley)
Assigned to: Nobody/Anonymous (nobody)
Summary: fix for external test regression in test.regrtest

Initial Comment:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=808210&group_id=5470



More information about the Patches mailing list