Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
TST: Add input validation tests #1420
How do you feel about testing the contents of the error strings?
with pytest.raises(Error) as e: ... assert '...' in str(e.value) assert str(e.value) == '...'
We might want to test that the error message includes the correct column or incorrect value.
I was thinking to move exception tests for objects defined in collections module from test_interactive.py to test_collections.py, so moving:
I added the last two here but seems like the general convention is for tests for a module to be in associated test_.py
What do you think?