(stu_code, passes)
| 29 | ], |
| 30 | ) |
| 31 | def test_check_object_exotic_compare(stu_code, passes): |
| 32 | output = helper.run( |
| 33 | { |
| 34 | "DC_SOLUTION": "x = filter(lambda x: x > 0, [1, 1])", |
| 35 | "DC_SCT": "Ex().check_object('x').has_equal_value()", |
| 36 | "DC_CODE": stu_code, |
| 37 | } |
| 38 | ) |
| 39 | assert output["correct"] == passes |
| 40 | |
| 41 | |
| 42 | @pytest.mark.parametrize( |