def test_c_version(verbose=False): if verbose: print _yaml.get_version() print _yaml.get_version_string() assert ("%s.%s.%s" % _yaml.get_version()) == _yaml.get_version_string(), \ (_yaml.get_version(), _yaml.get_version_string())
def testCVersion(self): self.failUnlessEqual("%s.%s.%s" % _yaml.get_version(), _yaml.get_version_string())
def test_c_version(verbose=False): if verbose: print(_yaml.get_version()) print(_yaml.get_version_string()) assert ("%s.%s.%s" % _yaml.get_version()) == _yaml.get_version_string(), \ (_yaml.get_version(), _yaml.get_version_string())