Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a4992b4

Browse files
authored
Add a test case to torture.py (psf#2822)
Co-authored-by: hauntsaninja <>
1 parent a24e1f7 commit a4992b4

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

tests/data/torture.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ def test(self, othr):
2222
(name, description, self.default, self.selected, self.auto_generated, self.parameters, self.meta_data, self.schedule) ==
2323
(name, description, othr.default, othr.selected, othr.auto_generated, othr.parameters, othr.meta_data, othr.schedule))
2424

25+
26+
assert (
27+
a_function(very_long_arguments_that_surpass_the_limit, which_is_eighty_eight_in_this_case_plus_a_bit_more)
28+
== {"x": "this need to pass the line limit as well", "b": "but only by a little bit"}
29+
)
30+
2531
# output
2632

2733
importA
@@ -76,3 +82,10 @@ def test(self, othr):
7682
othr.meta_data,
7783
othr.schedule,
7884
)
85+
86+
87+
assert a_function(
88+
very_long_arguments_that_surpass_the_limit,
89+
which_is_eighty_eight_in_this_case_plus_a_bit_more,
90+
) == {"x": "this need to pass the line limit as well", "b": "but only by a little bit"}
91+

0 commit comments

Comments
 (0)