fix: resolve pytest warnings in test_git_tools.py#196
Closed
ezyang wants to merge 2 commits into
Closed
Conversation
ezyang
added a commit
that referenced
this pull request
Mar 24, 2025
Fix these pytest warnings. ```git-revs e57db7c (Base revision) 4e3d96d Remove pytest.mark.asyncio decorator and convert asyncSetUp to sync setUp 2959325 Add asyncio import 31c6249 Implement setUp_async method using asyncio.run ae6b763 Convert asyncTearDown to standard tearDown 6093c63 Fix async_setup to include git init command 2b14e4b Convert test_git_log to use asyncio.run with inner async function fe9708f Convert test_git_diff to use asyncio.run with inner async function a83cf90 Convert test_git_show to use asyncio.run with inner async function ceac4c3 Convert test_git_blame to use asyncio.run with inner async function f177a40 Convert test_invalid_path to use asyncio.run with inner async function 65d5b29 Convert test_command_failure to use asyncio.run with inner async function 60d29cd Fix mocking in test_invalid_path to use correct import paths 5bce016 Auto-commit format changes HEAD Auto-commit lint changes ``` codemcp-id: 206-fix-resolve-pytest-warnings-in-test-git-tools-py ghstack-source-id: 08fde94 Pull-Request-resolved: #196
ezyang
added a commit
that referenced
this pull request
Mar 24, 2025
Fix these pytest warnings. ```git-revs e57db7c (Base revision) 4e3d96d Remove pytest.mark.asyncio decorator and convert asyncSetUp to sync setUp 2959325 Add asyncio import 31c6249 Implement setUp_async method using asyncio.run ae6b763 Convert asyncTearDown to standard tearDown 6093c63 Fix async_setup to include git init command 2b14e4b Convert test_git_log to use asyncio.run with inner async function fe9708f Convert test_git_diff to use asyncio.run with inner async function a83cf90 Convert test_git_show to use asyncio.run with inner async function ceac4c3 Convert test_git_blame to use asyncio.run with inner async function f177a40 Convert test_invalid_path to use asyncio.run with inner async function 65d5b29 Convert test_command_failure to use asyncio.run with inner async function 60d29cd Fix mocking in test_invalid_path to use correct import paths 5bce016 Auto-commit format changes 742efb7 Auto-commit lint changes 7bfe13a Completely rewrite test_git_tools.py to use MCPEndToEndTestCase 36e047a Fix test_git_blame to use the correct author name set by MCPEndToEndTestCase HEAD Auto-commit format changes ``` codemcp-id: 206-fix-resolve-pytest-warnings-in-test-git-tools-py ghstack-source-id: 1b5724d Pull-Request-resolved: #196
This was referenced Mar 24, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack from ghstack (oldest at bottom):
Fix these pytest warnings.
codemcp-id: 206-fix-resolve-pytest-warnings-in-test-git-tools-py