def compare_cpu(self, xmlDesc, flags=0):
        return self.get_connection().compareCPU(xmlDesc, flags)
testing if a TypeError will be raised when the duration attribute is
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/host.py/Host.compare_cpu--crossover with--dataset/ETHPy150Open eoyilmaz/anima/tests/previs/test_duration_mixin.py/DurationAttrMixinTestCase.test_duration_attribute_is_not_an_integer