Commit 1764b2b
committed
Make SkipTest reason positional-only
SkipTest does not override __init__ on any 3.x Python; it inherits
BaseException.__init__(self, *args), where *args is positional-only
at runtime. Without the / marker, the stub claims SkipTest(reason='x')
is valid, but it raises TypeError at runtime.1 parent 85f39ef commit 1764b2b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments