Fix xfail marker
@@ -65,7 +65,7 @@ prefix_search = (
if compat.is_python2:
# If we have this test in Python 3, pytest chokes, as it can't print the
# string above in the xpass message.
- @pytest.xfail
+ @pytest.mark.xfail
def test_issue3356():
pattern = re.compile(prefix_search.decode("utf8"))
assert not pattern.search(u"hello")
