<?xml version="1.0" encoding="utf-8"?><testsuite errors="0" failures="2" name="pytest" skips="0" tests="3" time="0.040"><testcase classname="test_class.TestClass" file="test_class.py" line="1" name="test_one" time="0.00114321708679"></testcase><testcase classname="test_class.TestClass" file="test_class.py" line="5" name="test_two" time="0.00104188919067"><failure message="assert False
 +  where False = hasattr(&apos;hello&apos;, &apos;check&apos;)">self = &lt;test_class.TestClass instance at 0x2822638&gt;

    def test_two(self):
        x = &quot;hello&quot;
&gt;       assert hasattr(x, &apos;check&apos;)
E       assert False
E        +  where False = hasattr(&apos;hello&apos;, &apos;check&apos;)

test_class.py:8: AssertionError</failure></testcase><testcase classname="test_sample" file="test_sample.py" line="3" name="test_answer" time="0.000939130783081"><failure message="assert 4 == 5
 +  where 4 = func(3)">def test_answer():
&gt;       assert func(3) == 5
E       assert 4 == 5
E        +  where 4 = func(3)

test_sample.py:5: AssertionError</failure></testcase></testsuite>