summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-08-16 19:26:54 +0000
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-08-16 19:26:54 +0000
commit29a66bdcb592173e5638c1b13439bad7beeeaaf7 (patch)
treeac1546e0231a7d12df926cc2e14f10e0c00a671c
parent0261d2e361151741613574e0047df5c6639074f3 (diff)
downloadcpython-git-29a66bdcb592173e5638c1b13439bad7beeeaaf7.tar.gz
Merged revisions 84100 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r84100 | florent.xicluna | 2010-08-16 21:22:18 +0200 (lun., 16 août 2010) | 13 lines Merged revisions 84097,84099 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84097 | florent.xicluna | 2010-08-16 20:41:19 +0200 (lun., 16 août 2010) | 1 line Use test.support and unittest features. Fix duplicated test (bad merge in r79033). Fix comment for issue #7902. ........ r84099 | florent.xicluna | 2010-08-16 21:03:05 +0200 (lun., 16 août 2010) | 1 line I get it wrong in r84097: s/relative/absolute/ ........ ................
-rw-r--r--Lib/test/test_import.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py
index bbf21ceb8f..60346ab9fc 100644
--- a/Lib/test/test_import.py
+++ b/Lib/test/test_import.py
@@ -417,8 +417,8 @@ class RelativeImport(unittest.TestCase):
self.assertRaises(ValueError, check_relative)
def test_absolute_import_without_future(self):
- # If absolute import syntax is used, then do not try to perform
- # a relative import in the face of failure.
+ # If explicit relative import syntax is used, then do not try
+ # to perform an absolute import in the face of failure.
# Issue #7902.
try:
from .os import sep
@@ -426,7 +426,7 @@ class RelativeImport(unittest.TestCase):
pass
else:
self.fail("explicit relative import triggered an "
- "implicit relative import")
+ "implicit absolute import")
def test_main(verbose=None):