summaryrefslogtreecommitdiff
path: root/tests/db_functions/math/test_round.py
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2021-03-29 00:21:20 -0700
committerGitHub <noreply@github.com>2021-03-29 09:21:20 +0200
commit61d5e57353bb811df7b5457a1856baee31299429 (patch)
tree118e828ee89700da13e23ce63505bcdc4dc2a883 /tests/db_functions/math/test_round.py
parented0cc52dc3b0dfebba8a38c12b6157a007309900 (diff)
Simplified and optimized test_match_tags().
This simplifies and optimizes runner.py's test_match_tags() because it (1) uses isdisjoint() instead of intersection(), which involves constructing a new set, (2) eliminates a set operation when tags is falsey, (3) eliminates the need for a matched_tags variable, and (4) uses fewer not's, which should make it easier to parse and understand.
Diffstat (limited to 'tests/db_functions/math/test_round.py')
0 files changed, 0 insertions, 0 deletions