You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've seen this happen with some parts of django (djangoproject.com), as well as
homebrew
iterable objects.
Calling
mock = Mock(spec=IterableClass)
will indeed provide a mock object made of that class, but trying things like
"a" in mock
will cause an exception as follows:
"TypeError: argument of type 'Mock' is not iterable"
Original issue reported on code.google.com by chris.we...@gmail.com on 18 Aug 2008 at 9:46
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
chris.we...@gmail.com
on 18 Aug 2008 at 9:46The text was updated successfully, but these errors were encountered: