aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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