Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 22, 2024
1 parent d56d0c4 commit 6794064
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/test_issue_0203.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ def test_issue_0203(self):
And the person is more than 100 years old
"""
try:
codicefiscale.encode('Mario', 'Rossi', 'm', datetime.now() - timedelta(days=150 * 365), 'Gallico')
codicefiscale.encode(
"Mario",
"Rossi",
"m",
datetime.now() - timedelta(days=150 * 365),
"Gallico",
)
except ValueError as e:
self.fail(f"codicefiscale.encode raised an exception: {e}")

0 comments on commit 6794064

Please sign in to comment.