You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For test data such as X_phys and Y_phys in test files like test_Grassmann.py, a good practice would be put test data in a separate file(for example, tests/data/Grassmann.txt) and load it during the test, this way it's easier to manage all the tests. You can also reuse all the test data if needed.
When running pytest using Python 3, I got the following deprecation warnings, which seem to be caused by a few test data formatting. Reading test coordinates from .txt will give you the same error when reading the input, which can help you debug where the issue is.(lint would also be helpful)
For test data such as X_phys and Y_phys in test files like test_Grassmann.py, a good practice would be put test data in a separate file(for example,
tests/data/Grassmann.txt
) and load it during the test, this way it's easier to manage all the tests. You can also reuse all the test data if needed.When running
pytest
using Python 3, I got the following deprecation warnings, which seem to be caused by a few test data formatting. Reading test coordinates from .txt will give you the same error when reading the input, which can help you debug where the issue is.(lint would also be helpful)The text was updated successfully, but these errors were encountered: