diff options
| author | Eric V. Smith <eric@trueblade.com> | 2012-05-24 20:21:04 -0400 |
|---|---|---|
| committer | Eric V. Smith <eric@trueblade.com> | 2012-05-24 20:21:04 -0400 |
| commit | 984b11f88fcace98e30decc19bbf9e281355e607 (patch) | |
| tree | 613a0fb564da71c5fc84e9343813f87619591732 /Lib/test/test_import.py | |
| parent | fa52cbd5e6210f257de40aab12d55d84d64bdb91 (diff) | |
| download | cpython-git-984b11f88fcace98e30decc19bbf9e281355e607.tar.gz | |
issue 14660: Implement PEP 420, namespace packages.
Diffstat (limited to 'Lib/test/test_import.py')
| -rw-r--r-- | Lib/test/test_import.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py index 890041f0d7..a90e6273c1 100644 --- a/Lib/test/test_import.py +++ b/Lib/test/test_import.py @@ -286,12 +286,6 @@ class ImportTests(unittest.TestCase): import test.support as y self.assertIs(y, test.support, y.__name__) - def test_import_initless_directory_warning(self): - with check_warnings(('', ImportWarning)): - # Just a random non-package directory we always expect to be - # somewhere in sys.path... - self.assertRaises(ImportError, __import__, "site-packages") - def test_import_by_filename(self): path = os.path.abspath(TESTFN) encoding = sys.getfilesystemencoding() |
