New submission from Hirokazu Yamamoto <ocean-c...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue9287>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to