[Python-Dev] Re: [Python-checkins] python/dist/src/Lib/email/test test_email_codecs.py,1.1,1.2

Guido van Rossum guido@python.org
Sat, 27 Jul 2002 17:56:30 -0400


> It's a bit uglier than that because since Lib/test gets magically
> added to sys.path during regrtest by virtue of running "python
> Lib/test/regrtest.py".

Perhaps regrtest.py can specifically remove its own directory from
sys.path?  (Please don't just remove sys.path[0] or ''; look in
sys.argv[0] and deduce from there.)

--Guido van Rossum (home page: http://www.python.org/~guido/)