A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-July/026621.html below:

[Python-Dev] atexit test failing

[Python-Dev] atexit test failing [Python-Dev] atexit test failingTim Peters tim.one@comcast.net
Tue, 16 Jul 2002 20:33:54 -0400
[Neal Norwitz]
> test_atexit is failing for me because the test assumes that
> the python being tested is the first one found in the path.
> This is not true on my system.

I wondered about that, but figured "it must be safe" since test_popen's
_do_test_commandline also does a popen("python ...").

So what I'm actually assuming is that you don't have a broken Python first
on your path <wink>.

> Would it be safer to use the patch below which replaces:
> 	"python " + fname
> with
> 	"%s %s" % (sys.executable, fname)

I don't know.  For example, does that work for you?  If so, that would be a
good start.  It works for me, so I'll check that in.





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4