summaryrefslogtreecommitdiffstats
path: root/python/tests/import_common.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-02 17:55:15 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-11-02 17:55:22 -0700
commit6fa2d38be243531747241a3ae602069d507368d9 (patch)
tree7cc81446a97a372640f6a189f09b88fa466e77ce /python/tests/import_common.py
parent367b06f64546e4533662017c9dbe72aca175a294 (diff)
downloadfatcat-6fa2d38be243531747241a3ae602069d507368d9.tar.gz
fatcat-6fa2d38be243531747241a3ae602069d507368d9.zip
lint: simple, safe inline lint fixes
'==' vs 'is'; 'not a in b' vs 'a not in b'; etc
Diffstat (limited to 'python/tests/import_common.py')
-rw-r--r--python/tests/import_common.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/tests/import_common.py b/python/tests/import_common.py
index d0db014e..69e51432 100644
--- a/python/tests/import_common.py
+++ b/python/tests/import_common.py
@@ -37,7 +37,7 @@ def test_fuzzy_match_none(entity_importer, mocker) -> None:
)
resp = entity_importer.match_existing_release_fuzzy(release)
- assert resp == None
+ assert resp is None
def test_fuzzy_match_different(entity_importer, mocker) -> None:
"""
@@ -71,8 +71,8 @@ def test_fuzzy_match_different(entity_importer, mocker) -> None:
match_raw.side_effect = [[r3]]
resp = entity_importer.match_existing_release_fuzzy(r1)
- assert resp == None
+ assert resp is None
match_raw.side_effect = [[]]
resp = entity_importer.match_existing_release_fuzzy(r1)
- assert resp == None
+ assert resp is None