From ee17858cce427fa0cc536c6dd764d2f76d894057 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 29 Aug 2009 16:12:06 -0500 Subject: [PATCH] get rid of usage of the new module --HG-- branch : trunk --- py/test/testing/test_outcome.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/test/testing/test_outcome.py b/py/test/testing/test_outcome.py index b2e6e649b..078f5b5f8 100644 --- a/py/test/testing/test_outcome.py +++ b/py/test/testing/test_outcome.py @@ -26,7 +26,7 @@ def test_importorskip(): py.test.raises(SyntaxError, "py.test.importorskip('x y z')") py.test.raises(SyntaxError, "py.test.importorskip('x=y')") path = py.test.importorskip("py", minversion=".".join(py.__version__)) - mod = py.std.new.module("hello123") + mod = py.std.types.ModuleType("hello123") mod.__version__ = "1.3" py.test.raises(Skipped, """ py.test.importorskip("hello123", minversion="5.0")