All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
2 make_context_manager1() as cm1, \
3 make_context_manager2() as cm2, \
4 make_context_manager3() as cm3, \
5 make_context_manager4() as cm4 \
12 make_context_manager1() as cm1, \
13 make_context_manager2(), \
14 make_context_manager3() as cm3, \
15 make_context_manager4() \
21 new_new_new1() as cm1, \
28 new_new_new1() as cm1,
37 new_new_new1() as cm1,
46 this_is_a_very_long_call(looong_arg1=looong_value1, looong_arg2=looong_value2) as cm1, \
47 this_is_a_very_long_call(looong_arg1=looong_value1, looong_arg2=looong_value2, looong_arg3=looong_value3, looong_arg4=looong_value4) as cm2 \
52 with mock.patch.object(
53 self.my_runner, "first_method", autospec=True
54 ) as mock_run_adb, mock.patch.object(
55 self.my_runner, "second_method", autospec=True, return_value="foo"
60 with xxxxxxxx.some_kind_of_method(
66 ).another_method() as cmd:
72 make_context_manager1() as cm1, \
73 make_context_manager2() as cm2, \
74 make_context_manager3() as cm3, \
75 make_context_manager4() as cm4 \
79 async with some_function(
80 argument1, argument2, argument3="some_value"
81 ) as some_cm, some_other_function(
82 argument1, argument2, argument3="some_value"
91 make_context_manager1() as cm1,
92 make_context_manager2() as cm2,
93 make_context_manager3() as cm3,
94 make_context_manager4() as cm4,
101 make_context_manager1() as cm1,
102 make_context_manager2(),
103 make_context_manager3() as cm3,
104 make_context_manager4(),
109 with new_new_new1() as cm1, new_new_new2():
113 with new_new_new1() as cm1, new_new_new2():
120 new_new_new1() as cm1,
129 this_is_a_very_long_call(
130 looong_arg1=looong_value1, looong_arg2=looong_value2
132 this_is_a_very_long_call(
133 looong_arg1=looong_value1,
134 looong_arg2=looong_value2,
135 looong_arg3=looong_value3,
136 looong_arg4=looong_value4,
143 mock.patch.object(self.my_runner, "first_method", autospec=True) as mock_run_adb,
145 self.my_runner, "second_method", autospec=True, return_value="foo"
151 with xxxxxxxx.some_kind_of_method(
157 ).another_method() as cmd:
163 make_context_manager1() as cm1,
164 make_context_manager2() as cm2,
165 make_context_manager3() as cm3,
166 make_context_manager4() as cm4,
171 some_function(argument1, argument2, argument3="some_value") as some_cm,
172 some_other_function(argument1, argument2, argument3="some_value"),