Skip to content

Commit ebedd27

Browse files
authored
Fix reference site patch in test_deprecations (#57)
We should patch the reference site, not the definition site for a more robust patch. Fixes 9f2dc67
1 parent 9f2dc67 commit ebedd27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_deprecations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_verb_blacklist():
2727
import does_not_exist # noqa: F401
2828

2929

30-
@patch('colcon_core.location.get_config_path', Path.cwd)
30+
@patch('colcon_mixin.mixin.repository.get_config_path', Path.cwd)
3131
def test_mixin_repositories_file():
3232
if sys.version_info < (3, 7):
3333
# Older Python doesn't support the syntax to emit this warning

0 commit comments

Comments
 (0)