Author: Ronan Lamy <[email protected]>
Branch: 
Changeset: r84979:b9e345296b3c
Date: 2016-06-06 19:10 +0100
http://bitbucket.org/pypy/pypy/changeset/b9e345296b3c/

Log:    Backout bd58f90

diff --git a/pypy/conftest.py b/pypy/conftest.py
--- a/pypy/conftest.py
+++ b/pypy/conftest.py
@@ -23,10 +23,11 @@
 def pytest_report_header():
     return "pytest-%s from %s" % (pytest.__version__, pytest.__file__)
 
+def pytest_addhooks(pluginmanager):
+    from rpython.conftest import LeakFinder
+    pluginmanager.register(LeakFinder())
+
 def pytest_configure(config):
-    if not config.option.runappdirect:
-        from rpython.conftest import LeakFinder
-        config.pluginmanager.register(LeakFinder())
     global option
     option = config.option
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to