Skip to content

Commit e85651a

Browse files
committed
fix lambda/statment test cases that need to see the relevant segment of code to proceed. (mocking that out for now)
1 parent 76447b0 commit e85651a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit/transformer/test_node_transformer.py

+1
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ def test_visit_delete_subscript_attribute_calls_tracer_call(self, code):
195195

196196
@pytest.mark.parametrize(*basic_tests, ids=basic_test_ids)
197197
def test_code_visited_calls_tracer_call(self, code, visitor, call_count):
198+
self.nt._get_code_from_node = MagicMock()
198199
test_node = _get_ast_node(code)
199200
self.nt.visit(test_node)
200201
# doing this so that we can select which function in tracer gets called.

0 commit comments

Comments
 (0)