aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/__init__.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-11-19 10:56:35 +0300
committerFrederick Muriuki Muriithi2021-11-19 10:56:35 +0300
commit08c81b8892060353bb7fb15555875f03bbdcb46e (patch)
treeef545062885d08a3425e59e52164b6822cb93b9a /tests/unit/__init__.py
parent6367350202a4a7eb9c6551d01cc1b4543d2529f0 (diff)
downloadgenenetwork3-08c81b8892060353bb7fb15555875f03bbdcb46e.tar.gz
Avoid rounding: compare floats approximately
Notes: https://github.com/genenetwork/genenetwork3/pull/56#issuecomment-973798918 * As mentioned in the notes, rather than rounding to an arbitrary number of decimal places, it is a much better practice to use approximate comparisons of floats for the tests.
Diffstat (limited to 'tests/unit/__init__.py')
0 files changed, 0 insertions, 0 deletions