Skip to content

Commit

Permalink
Reformat code after updating black
Browse files Browse the repository at this point in the history
  • Loading branch information
Xennis committed Apr 2, 2024
1 parent 9e3ceb3 commit acc96d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
This data is made available under a [Creative Commons Attribution 3.0 License](http://creativecommons.org/licenses/by/3.0/), with
copyright and attribution to the respective projects.
"""

import os
import unittest

Expand Down Expand Up @@ -308,7 +309,7 @@ def test_all(self):
),
]

for (filename, want) in tests:
for filename, want in tests:
with self.subTest(filename):
with open(os.path.join(TESTDATA_DIR, "full", filename)) as f:
try:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def test_all(self):
{"la": 26},
),
]
for (filename, want_language, want_foreign_languages) in tests:
for filename, want_language, want_foreign_languages in tests:
with self.subTest(filename):
with open(os.path.join(TESTDATA_DIR, "body", filename)) as f:
elem = BeautifulSoup(f.read(), features="lxml")
Expand Down
5 changes: 3 additions & 2 deletions tests/test_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
This data is made available under a [Creative Commons Attribution 3.0 License](http://creativecommons.org/licenses/by/3.0/), with
copyright and attribution to the respective projects.
"""

import os
import unittest

Expand Down Expand Up @@ -411,7 +412,7 @@ def test_all(self):
{},
),
]
for (filename, want_origin_dates, want_origin_place, want_provenances) in tests:
for filename, want_origin_dates, want_origin_place, want_provenances in tests:
with self.subTest(filename):
with open(os.path.join(TESTDATA_DIR, "header-history", filename)) as f:
elem = BeautifulSoup(f.read(), features="lxml").history
Expand Down Expand Up @@ -530,7 +531,7 @@ def test_all(self):
{},
),
]
for (filename, want_terms, want_langs) in tests:
for filename, want_terms, want_langs in tests:
with self.subTest(filename):
with open(os.path.join(TESTDATA_DIR, "header-profile-desc", filename)) as f:
elem = BeautifulSoup(f.read(), features="lxml").profiledesc
Expand Down

0 comments on commit acc96d6

Please sign in to comment.