Skip to content

Commit

Permalink
Fix warning in test
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleFromNVIDIA committed Jan 22, 2024
1 parent ed41556 commit 175b5dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/rapids_pre_commit_hooks/test_copyright.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,9 @@ def file_contents(verbed):

with patch("os.getcwd", Mock(return_value=git_repo.working_tree_dir)), mock_os_walk(
git_repo.working_tree_dir
), patch(
"rapids_pre_commit_hooks.copyright.get_target_branch_upstream_commit",
Mock(return_value=None),
):
assert copyright.get_changed_files() == {
"untouched.txt": None,
Expand Down

0 comments on commit 175b5dc

Please sign in to comment.