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

SourceForge.net noreply at sourceforge.net
Thu Oct 2 15:09:44 EDT 2003


Patches item #808210, was opened at 2003-09-17 17:48
Message generated for change (Comment added) made by nriley
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.

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

>Comment By: Nicholas Riley (nriley)
Date: 2003-10-02 14:09

Message:
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.

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

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