TestXFail also shouldnt explicitly inherit from object

This commit is contained in:
Michael Aquilina
2015-10-03 17:12:44 +01:00
parent 750442909c
commit 8984177448

View File

@@ -126,7 +126,7 @@ class TestEvaluator:
assert expl == "condition: config._hackxyz"
class TestXFail(object):
class TestXFail:
def test_xfail_simple(self, testdir):
item = testdir.getitem("""
import pytest