summaryrefslogtreecommitdiff
path: root/testing/test_pastebin.py
diff options
context:
space:
mode:
authorZac Hatfield-Dodds <Zac-HD@users.noreply.github.com>2019-06-25 13:51:33 +1000
committerZac Hatfield-Dodds <Zac-HD@users.noreply.github.com>2019-06-25 13:51:33 +1000
commitd72fb73fa091534a862dbe462257efeef7ecaa2f (patch)
tree70b336bd9df40f48af464777425fccc2dd9707f6 /testing/test_pastebin.py
parent4f57d40a43e0c27d82b8996d70e170ba9c879ee9 (diff)
downloadpytest-d72fb73fa091534a862dbe462257efeef7ecaa2f.tar.gz
Do not allow abbreviated arguments
Diffstat (limited to 'testing/test_pastebin.py')
-rw-r--r--testing/test_pastebin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/test_pastebin.py b/testing/test_pastebin.py
index 48dea14bd..fd443ed40 100644
--- a/testing/test_pastebin.py
+++ b/testing/test_pastebin.py
@@ -21,7 +21,7 @@ class TestPasteCapture:
pytest.skip("")
"""
)
- reprec = testdir.inline_run(testpath, "--paste=failed")
+ reprec = testdir.inline_run(testpath, "--pastebin=failed")
assert len(pastebinlist) == 1
s = pastebinlist[0]
assert s.find("def test_fail") != -1