Permalink
Browse files

Fixed #19456 -- Made SimpleLazyObject traceable

Removed arbitrary lambda function as discussed with @spookylukey
772f4b0#commitcomment-2421409
  • Loading branch information...
blaze33 committed Jan 21, 2013
1 parent 772f4b0 commit 2f6d887bd0a110e3a662ac1d056d6cdabf38632b
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/regressiontests/utils/functional.py
@@ -43,5 +43,5 @@ def test_simplelazyobject_traceable(self):
def tracer(frame, event, arg):
frame.f_locals['self'].__class__
sys.settrace(tracer)
- SimpleLazyObject(lambda x: x)
+ SimpleLazyObject(None)
sys.settrace(None)

0 comments on commit 2f6d887

Please sign in to comment.