[issue12408] Relative import used on test_future5
Cesare Di Mauro
report at bugs.python.org
Sat Jun 25 13:23:47 CEST 2011
New submission from Cesare Di Mauro <cesare.di.mauro at gmail.com>:
Executing test_future5 fails:
D:\CPython>PCbuild\python_d.exe Lib\test\test_future5.py
Traceback (most recent call last):
File "Lib\test\test_future5.py", line 6, in <module>
from . import support
ValueError: Attempted relative import in non-package
[51279 refs]
Tested on Windows 7.
----------
components: Tests
files: test_future5.py.patch
keywords: patch
messages: 139046
nosy: cdimauro
priority: normal
severity: normal
status: open
title: Relative import used on test_future5
type: behavior
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file22457/test_future5.py.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12408>
_______________________________________
More information about the Python-bugs-list
mailing list