PySDM
PySDM copied to clipboard
make all dimensional analysis tests use `physics` submodules directly rather than through `Formulae` (to avoid using `@pytest.mark.skipif("numba.config.DISABLE_JIT")`)
For the record, one way of workarounding it, would be to access physics sybmodules (also) directly in unit tests, rather than through Formulae?
Actually, accessing physics directly in unit tests (as done, e.g., here: #1565) makes the dimensional analysis checks work regardless of JIT settings. This makes it not necessary to repeat @pytest.mark.skipif("numba.config.DISABLE_JIT")for each test!
Renaming the test then...