error msg

This commit is contained in:
Reagan Lee 2023-08-11 10:03:19 -07:00
parent d2dc8a70b5
commit ec1053cc16
1 changed files with 3 additions and 1 deletions

View File

@ -135,7 +135,9 @@ def isiterable(obj: Any) -> bool:
except TypeError:
return False
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(