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: 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(