Instead of an xfail, you should wrap this block in a `with pytest.raises(AssertionError)`