Fix raw string prefix
This commit is contained in:
parent
ea2fbc427a
commit
0f3a17ae88
@ -389,7 +389,7 @@ class TestArgument:
|
|||||||
def test_wrong_order(self):
|
def test_wrong_order(self):
|
||||||
"""When @cmdutils.argument is used above (after) @register, fail."""
|
"""When @cmdutils.argument is used above (after) @register, fail."""
|
||||||
with pytest.raises(ValueError, match=r"@cmdutils.argument got called "
|
with pytest.raises(ValueError, match=r"@cmdutils.argument got called "
|
||||||
"above \(after\) @cmdutils.register for fun!"):
|
r"above \(after\) @cmdutils.register for fun!"):
|
||||||
@cmdutils.argument('bar', flag='y')
|
@cmdutils.argument('bar', flag='y')
|
||||||
@cmdutils.register()
|
@cmdutils.register()
|
||||||
def fun(bar):
|
def fun(bar):
|
||||||
|
Loading…
Reference in New Issue
Block a user