Import relimport using a relative import.

This commit is contained in:
Martin v. Löwis 2008-03-19 06:00:28 +00:00
parent ab41b370a3
commit 16b2e6bd7f
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ class RelativeImport(unittest.TestCase):
def test_relimport_star(self):
# This will import * from .test_import.
import relimport
from . import relimport
self.assertTrue(hasattr(relimport, "RelativeImport"))
def test_main(verbose=None):