Missing inst argument raises a TypeError like Python would.
(self)
| 815 | ) |
| 816 | |
| 817 | def test_no_inst(self): |
| 818 | """ |
| 819 | Missing inst argument raises a TypeError like Python would. |
| 820 | """ |
| 821 | with pytest.raises( |
| 822 | TypeError, match=r"evolve\(\) takes 1 positional argument" |
| 823 | ): |
| 824 | evolve(x=1) |
| 825 | |
| 826 | def test_too_many_pos_args(self): |
| 827 | """ |