aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-10-27 14:49:58 -0700
committerBryan Newbold <bnewbold@archive.org>2021-10-27 18:25:58 -0700
commiteb0c866d4e226606fe86e0f90af10c776e664a5c (patch)
tree732be3b53c9947ae8b416e4aaf0b8bb25b3998b9 /tests
parent4362e60383bef09d5989830b19ae2d5dec506620 (diff)
downloadfatcat-scholar-eb0c866d4e226606fe86e0f90af10c776e664a5c.tar.gz
fatcat-scholar-eb0c866d4e226606fe86e0f90af10c776e664a5c.zip
lint: small cleanups, mostly E711 and E713
Diffstat (limited to 'tests')
-rw-r--r--tests/test_refs_transform.py2
-rw-r--r--tests/test_transform.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_refs_transform.py b/tests/test_refs_transform.py
index 0300fd5..5f15adf 100644
--- a/tests/test_refs_transform.py
+++ b/tests/test_refs_transform.py
@@ -30,7 +30,7 @@ def test_transform_refs_grobid() -> None:
assert ref.ref_source == "grobid"
assert ref.key == "b12"
assert ref.index == 13
- assert ref.locator == None
+ assert ref.locator is None
assert ref.biblio.contrib_raw_names is not None
assert ref.biblio.contrib_raw_names[0] == "K Tasa"
assert ref.biblio.container_name == "Quality Management in Health Care"
diff --git a/tests/test_transform.py b/tests/test_transform.py
index 42f51d3..4409bf0 100644
--- a/tests/test_transform.py
+++ b/tests/test_transform.py
@@ -64,7 +64,7 @@ def test_biblio_metadata_hacks() -> None:
biblio.release_year = 2030
out = biblio_metadata_hacks(biblio)
- assert out.release_year == None
+ assert out.release_year is None
biblio.doi_prefix = "10.1101"
biblio.container_name = None