From eb0c866d4e226606fe86e0f90af10c776e664a5c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 27 Oct 2021 14:49:58 -0700 Subject: lint: small cleanups, mostly E711 and E713 --- tests/test_refs_transform.py | 2 +- tests/test_transform.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3