sorgerlab / indra

INDRA (Integrated Network and Dynamical Reasoning Assembler) is an automated model assembly system interfacing with NLP systems and databases to collect knowledge, and through a process of assembly, produce causal graphs and dynamical models.
http://indra.bio
BSD 2-Clause "Simplified" License
171 stars 65 forks source link

Migrate testing from nosetests to pytest #1405

Closed bgyori closed 1 year ago

bgyori commented 1 year ago

This PR migrates INDRA from nosetests to pytest. This is becoming necessary because nosetests is deprecated and is incompatible with recent Python versions (as far as I could tell, it breaks on 3.10+). Still, it seems like 3.10+ compatibility in INDRA overall will require further changes since several dependencies of INDRA error when attempting to run tests on 3.10+.

Other than changing the main command used to run tests, necessary changes include: