tskit-dev / tstrait

Quantitative trait simulation for ARGs
https://tskit.dev/software/tstrait
MIT License
7 stars 6 forks source link

Review # pragma: no cover usage #116

Closed jeromekelleher closed 11 months ago

jeromekelleher commented 11 months ago

There's a few places we're using # pragma: no cover where we could/should be testing.

Review these and replace with crafted test cases where approporate.

# pragma: no cover should only be used in cases where it's not possible to test, like in a numba jitted function.

daikitag commented 11 months ago

Issue resolved in https://github.com/tskit-dev/tstrait/pull/119