Closed analog-cbarber closed 1 year ago
Has a renamed dependencies (quaternion and dask-core) and has a test suite that worked except for one test:
pytest --pyargs orix.tests
...
FAILED plot/test_stereographic_plot.py::TestRestrictToFundamentalSector::test_restrict_to_fundamental_sector - ValueError: operands could not be broadcast together with shapes (137,2) (185,2)
Perhaps we could just skip that one test.
pytest --pyargs orix.tests -k "not test_restrict_to_fundamental_sector"
We do this for orix.
Some projects with test directories in shipped code:
mypy
there are pytests, but it is not clear how to run them from installation
tornado
Has tests that can be run using
python -m tornado.test
. When I tried this from a conda environment in which tornado was installed, most of the tests worked but there was one failure in test_error_logging.mkdocs
There is a
mkdocs.tests
packages containingunittest
tests, but they fail when run, so they probably aren't meant to be run this way.pyaml
There is a
pyaml.tests
package with atest_dump.py
file containingunittest
tests. This fails with message about not havingunidecode
module, so there are probably extra test dependencies.colorama
Has
colorama.tests
package withunittest
test cases. These pass when run with pytest.Can run all of the tests by cd'ing to the package directory in site-packages and running either pytest or unittest:
Using pytest, you can run
colorama doesn't have any dependencies other than python, so this is not an especially interesting case.
beautifulsoup4 (bs4)
Has test suite that can be run using:
pyct
Has test suite that can be run using