summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_modulefinder.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-02-26 22:22:47 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-02-26 22:22:47 (GMT)
commit2633c69fae7e413b2b64b01d8c0c901ae649a225 (patch)
tree144a1f97f427f019a8ddaae96a8f0da6a09df985 /Lib/test/test_modulefinder.py
parentf543348fff32ae20a9fd2c7f70a3549a3280048c (diff)
downloadcpython-2633c69fae7e413b2b64b01d8c0c901ae649a225.zip
cpython-2633c69fae7e413b2b64b01d8c0c901ae649a225.tar.gz
cpython-2633c69fae7e413b2b64b01d8c0c901ae649a225.tar.bz2
Remove the exceptions builtin module, all the exceptions are already builtin.
Diffstat (limited to 'Lib/test/test_modulefinder.py')
-rw-r--r--Lib/test/test_modulefinder.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Lib/test/test_modulefinder.py b/Lib/test/test_modulefinder.py
index 7da241b..3bc22ab 100644
--- a/Lib/test/test_modulefinder.py
+++ b/Lib/test/test_modulefinder.py
@@ -87,7 +87,7 @@ absolute_import_test = [
"a.module",
["a", "a.module",
"b", "b.x", "b.y", "b.z",
- "__future__", "sys", "exceptions"],
+ "__future__", "sys", "gc"],
["blahblah", "z"], [],
"""\
mymodule.py
@@ -96,11 +96,11 @@ a/module.py
from __future__ import absolute_import
import sys # sys
import blahblah # fails
- import exceptions # exceptions
+ import gc # gc
import b.x # b.x
from b import y # b.y
from b.z import * # b.z.*
-a/exceptions.py
+a/gc.py
a/sys.py
import mymodule
a/b/__init__.py
@@ -123,7 +123,7 @@ relative_import_test = [
"a.b.c", "a.b.c.moduleC",
"a.b.c.d", "a.b.c.e",
"a.b.x",
- "exceptions"],
+ "gc"],
[], [],
"""\
mymodule.py
@@ -131,8 +131,8 @@ a/__init__.py
from .b import y, z # a.b.y, a.b.z
a/module.py
from __future__ import absolute_import # __future__
- import exceptions # exceptions
-a/exceptions.py
+ import gc # gc
+a/gc.py
a/sys.py
a/b/__init__.py
from ..b import x # a.b.x
@@ -170,7 +170,7 @@ a/__init__.py
a/another.py
a/module.py
from .b import y, z # a.b.y, a.b.z
-a/exceptions.py
+a/gc.py
a/sys.py
a/b/__init__.py
from .c import moduleC # a.b.c.moduleC