aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/db/test_traits.py
diff options
context:
space:
mode:
authorBonfaceKilz2022-01-04 17:02:05 +0300
committerBonfaceKilz2022-01-04 17:04:28 +0300
commit2d6a6f3cffc93718d405ab9c88c305fb44fd1752 (patch)
tree236d9bd8ca7c35234c79ca362274c7a9e4332d1a /tests/unit/db/test_traits.py
parent1acd3873f44e0edff055c07fbb6d11066920f379 (diff)
downloadgenenetwork3-2d6a6f3cffc93718d405ab9c88c305fb44fd1752.tar.gz
traits.py: Don't use "value" to check if a record exists
The problem with using the "value" record is that it's a floating point number. See <https://www.bonfacemunyoki.com/post/2021-10-21-comparing-floating-point-numbers/> on why comparing floating point numbers can be an issue.
Diffstat (limited to 'tests/unit/db/test_traits.py')
0 files changed, 0 insertions, 0 deletions