diff options
Diffstat (limited to 'Lib/importlib/test/import_/test_api.py')
-rw-r--r-- | Lib/importlib/test/import_/test_api.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Lib/importlib/test/import_/test_api.py b/Lib/importlib/test/import_/test_api.py deleted file mode 100644 index 9075d42759..0000000000 --- a/Lib/importlib/test/import_/test_api.py +++ /dev/null @@ -1,22 +0,0 @@ -from . import util -import unittest - - -class APITest(unittest.TestCase): - - """Test API-specific details for __import__ (e.g. raising the right - exception when passing in an int for the module name).""" - - def test_name_requires_rparition(self): - # Raise TypeError if a non-string is passed in for the module name. - with self.assertRaises(TypeError): - util.import_(42) - - -def test_main(): - from test.support import run_unittest - run_unittest(APITest) - - -if __name__ == '__main__': - test_main() |