diff options
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() |
