Beispiel #1
0
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())
Beispiel #2
0
 def testCVersion(self):
     self.failUnlessEqual("%s.%s.%s" % _yaml.get_version(), _yaml.get_version_string())
Beispiel #3
0
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())
Beispiel #4
0
 def testCVersion(self):
     self.failUnlessEqual("%s.%s.%s" % _yaml.get_version(),
                          _yaml.get_version_string())