Skip to content

Commit 5ac15f9

Browse files
committed
add-tests
1 parent 89439a0 commit 5ac15f9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tests/test_guarded_eval.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,15 @@ def test_mocks_items_of_call_results(data, code, expected_items):
562562
),
563563
list,
564564
],
565+
[
566+
"\n".join(
567+
[
568+
"make_list = lambda:[]",
569+
"make_list()",
570+
]
571+
),
572+
list,
573+
],
565574
],
566575
)
567576
def test_mock_class_and_func_instances(code, expected):

0 commit comments

Comments
 (0)