Merge pull request #8420 from francoisfreitag/unused-args

linkcheck: Remove unused arguments from test_invalid_ssl
This commit is contained in:
Takeshi KOMIYA 2020-11-14 21:08:25 +09:00 committed by GitHub
commit 9a8314edcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -271,7 +271,7 @@ def test_follows_redirects_on_GET(app, capsys):
)
@pytest.mark.sphinx('linkcheck', testroot='linkcheck-localserver-https', freshenv=True)
def test_invalid_ssl(app, status, warning):
def test_invalid_ssl(app):
# Link indicates SSL should be used (https) but the server does not handle it.
class OKHandler(http.server.BaseHTTPRequestHandler):
def do_GET(self):