From 82261f7fe0e6bbd9621f2515ceefb4ccca814e62 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 6 Oct 2021 22:10:26 +0300 Subject: [PATCH] tests/test_check.py: Run black --- tests/test_check.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/test_check.py b/tests/test_check.py index 375f8ad..1377573 100644 --- a/tests/test_check.py +++ b/tests/test_check.py @@ -377,10 +377,7 @@ def test_check_doi_field(): # Emulate a column in a transposed dataframe (which is just a series), with # the citation and an empty DOI field. - d = { - "cg.identifier.doi": doi, - "dcterms.bibliographicCitation": citation - } + d = {"cg.identifier.doi": doi, "dcterms.bibliographicCitation": citation} series = pd.Series(data=d) result = check.citation_doi(series) @@ -395,10 +392,7 @@ def test_check_doi_only_in_citation(capsys): # Emulate a column in a transposed dataframe (which is just a series), with # an empty DOI field and a citation containing a DOI. - d = { - "cg.identifier.doi": None, - "dcterms.bibliographicCitation": citation - } + d = {"cg.identifier.doi": None, "dcterms.bibliographicCitation": citation} series = pd.Series(data=d) check.citation_doi(series)