[issue9287] Cosmetic fix in OtherFileTests.testOpenDir

Éric Araujo report at bugs.python.org
Sat Jul 17 16:45:16 CEST 2010


Éric Araujo <merwok at netwok.org> added the comment:

Thanks for the report. I have had exceptions in distutils2 tests because of this exact same thing; my fix was to use “os.path.dirname(__file__) or os.curdir”. I’ll change that if people more knowledgeable than me say your fix is better :)

----------
nosy: +merwok

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9287>
_______________________________________


More information about the Python-bugs-list mailing list