error msg
This commit is contained in:
parent
d2dc8a70b5
commit
ec1053cc16
|
@ -135,7 +135,9 @@ def isiterable(obj: Any) -> bool:
|
||||||
except TypeError:
|
except TypeError:
|
||||||
return False
|
return False
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise ValueError(f"Unexpected exception {e!r} while testing object {obj!r}")
|
raise ValueError(
|
||||||
|
f"Unexpected exception {e!r} while testing object {obj!r}. Probably an issue with __iter__"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def has_default_eq(
|
def has_default_eq(
|
||||||
|
|
Loading…
Reference in New Issue