diff --git a/tests/test_module_boundaries.py b/tests/test_module_boundaries.py index 9a70725..d6ca572 100644 --- a/tests/test_module_boundaries.py +++ b/tests/test_module_boundaries.py @@ -38,7 +38,7 @@ def test_import_from_banned_module(self): node=next(self.node.get_children()), # type:ignore[func-returns-value] line=1, end_line=1, - end_col_offset=30, + end_col_offset=29, col_offset=0, args=("modules.foo", "modules.bar.value"), ) @@ -69,7 +69,7 @@ def test_import_banned_module(self): ), line=1, end_line=1, - end_col_offset=28, + end_col_offset=18, col_offset=0, args=("modules.foo", "modules.bar"), ) @@ -105,7 +105,7 @@ def test_banned_module(self): msg_id="banned-imports", node=next(children), line=2, - end_line=1, + end_line=2, end_col_offset=29, col_offset=0, args=("modules.foo", "modules.baz.value"),