summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-09-29 14:02:28 (GMT)
committerBenjamin Peterson <benjamin@python.org>2013-09-29 14:02:28 (GMT)
commit96609b701e55734d1bab794cfab016816ac4336a (patch)
tree48f42e2dec89f15540db038c1efab4d44699e359
parent61e10a5efe4c41602eddf0f7f3bf1b6c96569f6d (diff)
parent05ab7028ba6dff61fee138fee395c20106f83a6f (diff)
downloadcpython-96609b701e55734d1bab794cfab016816ac4336a.zip
cpython-96609b701e55734d1bab794cfab016816ac4336a.tar.gz
cpython-96609b701e55734d1bab794cfab016816ac4336a.tar.bz2
merge 3.3 (#19122)
-rw-r--r--Lib/test/test_import.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py
index 2485e22..9d15a43 100644
--- a/Lib/test/test_import.py
+++ b/Lib/test/test_import.py
@@ -252,17 +252,6 @@ class ImportTests(unittest.TestCase):
if TESTFN in sys.modules:
del sys.modules[TESTFN]
- def test_import_name_binding(self):
- # import x.y.z binds x in the current namespace.
- import test as x
- import test.support
- self.assertIs(x, test, x.__name__)
- self.assertTrue(hasattr(test.support, "__file__"))
-
- # import x.y.z as w binds z as w.
- import test.support as y
- self.assertIs(y, test.support, y.__name__)
-
def test_import_by_filename(self):
path = os.path.abspath(TESTFN)
encoding = sys.getfilesystemencoding()