There was an error while loading. Please reload this page.
1 parent d2dc8a7 commit ec1053cCopy full SHA for ec1053c
src/_pytest/assertion/util.py
@@ -135,7 +135,9 @@ def isiterable(obj: Any) -> bool:
135
except TypeError:
136
return False
137
except Exception as e:
138
- raise ValueError(f"Unexpected exception {e!r} while testing object {obj!r}")
+ raise ValueError(
139
+ f"Unexpected exception {e!r} while testing object {obj!r}. Probably an issue with __iter__"
140
+ )
141
142
143
def has_default_eq(
0 commit comments