Skip to content

Commit 908d245

Browse files
authored
Get rid of a TestCase class. (#20656)
Turns its members into new-style standalone test_* functions (and a couple of helpers). The diff is large, but the change is purely mechanical: dedent the functions and remove all references to self. The proof is that all 77 tests in this file pass after this change (I have verified that no tests are missed by the pytest collector). This is in preparation for integrating the rust options parser, which may require adding test fixtures, which is not a feature available to old-style class based tests.
1 parent 1a9df07 commit 908d245

File tree

1 file changed

+1072
-1057
lines changed

1 file changed

+1072
-1057
lines changed

0 commit comments

Comments
 (0)