summaryrefslogtreecommitdiff
path: root/_pytest/main.py
diff options
context:
space:
mode:
authorholger krekel <holger@merlinux.eu>2013-09-30 13:14:14 +0200
committerholger krekel <holger@merlinux.eu>2013-09-30 13:14:14 +0200
commit4b709037abf86e59f4227a8aad4ba8e1c64a0634 (patch)
tree82f215890995267d70c36933f267e8d3c6c4055e /_pytest/main.py
parentd946299b0a3e42e447c92b6074f196077b9b7a91 (diff)
downloadpytest-4b709037abf86e59f4227a8aad4ba8e1c64a0634.tar.gz
some more separation of core pluginmanager from pytest specific functionality.
Idea is to have the PluginManager be re-useable from other projects at some point.
Diffstat (limited to '_pytest/main.py')
-rw-r--r--_pytest/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/main.py b/_pytest/main.py
index 39c7dba3f..16d89fef5 100644
--- a/_pytest/main.py
+++ b/_pytest/main.py
@@ -91,7 +91,7 @@ def wrap_session(config, doit):
session.exitstatus = EXIT_INTERRUPTED
except:
excinfo = py.code.ExceptionInfo()
- config.pluginmanager.notify_exception(excinfo, config.option)
+ config.notify_exception(excinfo, config.option)
session.exitstatus = EXIT_INTERNALERROR
if excinfo.errisinstance(SystemExit):
sys.stderr.write("mainloop: caught Spurious SystemExit!\n")