diff options
author | Pierre-Yves David <pierre-yves.david@logilab.fr> | 2008-07-03 12:09:33 +0200 |
---|---|---|
committer | Pierre-Yves David <pierre-yves.david@logilab.fr> | 2008-07-03 12:09:33 +0200 |
commit | 20337244434d7501023c6964906b8dd7c7450baa (patch) | |
tree | 5f4b8d4bc0223ba825b3cbb4833e88c91c6cf259 /pytest.py | |
parent | b6be80bf7dcf305ea5d4b91e0c089ff5b646b8d1 (diff) | |
download | logilab-common-20337244434d7501023c6964906b8dd7c7450baa.tar.gz |
fix pause_tracing
Diffstat (limited to 'pytest.py')
-rw-r--r-- | pytest.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -98,7 +98,7 @@ class TraceController(object): def pause_tracing(cls): if not cls.nesting: - cls.tracefunc = getattr(sys, '__settrace__', sys.settrace) + cls.tracefunc = staticmethod(getattr(sys, '__settrace__', sys.settrace)) cls.oldtracer = getattr(sys, '__tracer__', None) sys.__notrace__ = True cls.tracefunc(None) |