File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ def test_attonlyquoted(content_disposition):
6262 content_disposition (b'Content-Disposition: "attachment"' )
6363
6464
65- @pytest .mark .xfail (reason = AssertionError ( 'Cannot test here' ) )
65+ @pytest .mark .xfail (reason = 'Cannot test here' )
6666def test_attonly403 (content_disposition ):
6767 h = content_disposition (b'Content-Disposition: attachment' )
6868 raise AssertionError ('Cannot test here' )
@@ -338,7 +338,7 @@ def test_attconfusedparam(content_disposition):
338338 assert h .params ['xfilename' ] == 'foo.html'
339339
340340
341- @pytest .mark .xfail (reason = AssertionError ( 'Cannot test here' ) )
341+ @pytest .mark .xfail (reason = 'Cannot test here' )
342342def test_attabspath (content_disposition ):
343343 h = content_disposition (b'Content-Disposition: attachment; filename="/foo.html"' )
344344 assert h .attachment
You can’t perform that action at this time.
0 commit comments