[New-bugs-announce] [issue9287] Cosmetic fix in OtherFileTests.testOpenDir
Hirokazu Yamamoto
report at bugs.python.org
Sat Jul 17 16:39:03 CEST 2010
New submission from Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp>:
Hello. In OtherFileTests.testOpenDir(test_file), if we run this test
in Lib/test, __file__ becomes "test_file.py", so os.path.dirname(__file__) becomes "". I think it is better to use os.path.abspath to get valid folder path for test purpose.
# This test seems not to exist in Python2.7.
----------
components: Tests
files: test_file.patch
keywords: easy, patch
messages: 110563
nosy: ocean-city
priority: normal
severity: normal
stage: patch review
status: open
title: Cosmetic fix in OtherFileTests.testOpenDir
versions: Python 2.6
Added file: http://bugs.python.org/file18040/test_file.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9287>
_______________________________________
More information about the New-bugs-announce
mailing list