Merge pull request #2220

* support python 3.14

* fix syntax warnings

* bump dockerfile to 3.14, optimize build time + size
This commit is contained in:
Branch Vincent
2025-12-30 09:36:19 +00:00
committed by GitHub
parent d03790e6da
commit 26c8d639be
7 changed files with 909 additions and 537 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ class TestSearchGithubCode:
Core.github_key = MagicMock(return_value="test_key") # type: ignore[method-assign]
test_class_instance = githubcode.SearchGithubCode(word="test", limit=500)
test_result = githubcode.SuccessResult(list(), 0, 0)
assert await test_class_instance.next_page_or_end(test_result) is 0
assert await test_class_instance.next_page_or_end(test_result) == 0
@pytest.mark.asyncio
async def test_infinite_loop_fix_page_zero(self):