Author: Ronan Lamy <[email protected]>
Branch: py3.5
Changeset: r90625:3d62b4040cbd
Date: 2017-03-10 16:10 +0000
http://bitbucket.org/pypy/pypy/changeset/3d62b4040cbd/

Log:    Kill test that does not make sense on py3 (due to namespace
        packages)

diff --git a/pypy/module/imp/test/test_import.py 
b/pypy/module/imp/test/test_import.py
--- a/pypy/module/imp/test/test_import.py
+++ b/pypy/module/imp/test/test_import.py
@@ -158,10 +158,6 @@
         p.ensure(dir=True)
         p.join("__init__.py").mksymlinkto(os.devnull)
 
-    p = root.join("onlypyw")
-    p.ensure(dir=True)
-    p.join("__init__.pyw")
-
     return str(root)
 
 
@@ -776,11 +772,6 @@
         finally:
             os.rmdir(name)
 
-    def test_dir_with_only_pyw(self):
-        def imp():
-            import onlypyw
-        raises(ImportError, imp)
-
     @pytest.mark.skipif(not hasattr(py.path.local, "mksymlinkto"), 
reason="requires symlinks")
     def test_dev_null_init_file(self):
         import devnullpkg
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to