From 84f2d332cec97c943d30e8e56dfdedd7646a29dd Mon Sep 17 00:00:00 2001 From: holger krekel Date: Fri, 17 Apr 2009 20:35:23 +0200 Subject: [PATCH] fix test for preparsed -p --HG-- branch : trunk --- py/test/plugin/pytest_default.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/py/test/plugin/pytest_default.py b/py/test/plugin/pytest_default.py index 4e396cfd1..5d0eed616 100644 --- a/py/test/plugin/pytest_default.py +++ b/py/test/plugin/pytest_default.py @@ -191,10 +191,12 @@ def test_generic(plugintester): def test_plugin_specify(testdir): testdir.chdir() - config = testdir.parseconfig("-p", "nqweotexistent") - py.test.raises(ImportError, - "config.pluginmanager.do_configure(config)" - ) + config = py.test.raises(ImportError, """ + testdir.parseconfig("-p", "nqweotexistent") + """) + #py.test.raises(ImportError, + # "config.pluginmanager.do_configure(config)" + #) def test_plugin_already_exists(testdir): config = testdir.parseconfig("-p", "default")