wholecell.tests.utils.test_library_performance
Test library performance (NumPy and libraries above and below it) to discover configuration problems such as performance bugs in some versions of pip packages or problems linking to native libraries. Precise timings aren’t needed.
- Running it this way prints all timing measurements:
python -m wholecell.tests.utils.test_library_performance
Running it these ways prints timing measurements (and other printout) only for failed tests:
pytest wholecell/tests/utils/test_library_performance.py
Running it this way runs the iterative test that isn’t automatically discovered as a test method:
python -m unittest -v wholecell.tests.utils.test_library_performance.Test_library_performance.multitest_dot
- class wholecell.tests.utils.test_library_performance.Test_library_performance(methodName='runTest')[source]
Bases:
TestCase
Test some library operations to see that they’re performing OK.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- _classSetupFailed = False
- _class_cleanups = []