Breaking: Drop support for Python 3.10 (#12234)

This commit is contained in:
Trenton H
2026-03-04 15:03:33 -08:00
committed by GitHub
parent a9cb89c633
commit 1e21bcd26e
17 changed files with 108 additions and 772 deletions
+5 -1
View File
@@ -336,7 +336,11 @@ class TestFileHandling(DirectoriesMixin, FileSystemAssertsMixin, TestCase):
added=d1,
)
self.assertEqual(generate_filename(doc1), Path("1232-01-09.pdf"))
# Account for 3.14 padding changes
expected_year: str = d1.strftime("%Y")
expected_filename: Path = Path(f"{expected_year}-01-09.pdf")
self.assertEqual(generate_filename(doc1), expected_filename)
doc1.added = timezone.make_aware(datetime.datetime(2020, 11, 16, 1, 1, 1))