Terry J. Reedy <tjre...@udel.edu> added the comment:

Peter, please include x.y.z version with reports (and upgrade first if possible 
;-).  This was apparently fixed in #25532 last year for current versions.  With 
3.6.4 and 3.7.0b2 I get
Traceback (most recent call last):
  File "F:\Python\a\tem2.py", line 3, in <module>
    print(inspect.unwrap(unittest.mock.call))
  File "C:\Programs\Python37\lib\inspect.py", line 515, in unwrap
    raise ValueError('wrapper loop when unwrapping {!r}'.format(f))
ValueError: wrapper loop when unwrapping call

----------
nosy: +terry.reedy
resolution:  -> out of date
stage:  -> resolved
status: open -> closed
superseder:  -> infinite loop when running inspect.unwrap over 
unittest.mock.call

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue33120>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to