Ejemplo n.º 1
0
 def test_version(self):
     self.assertTrue(libtesseract.get_version() in (
         (3, 2, 1),
         (3, 2, 2),
         (3, 3, 0),
         (3, 4, 0),
     ), ("Tesseract does not have the expected version"
         " (3.4.0) ! Some tests will be skipped !"))
Ejemplo n.º 2
0
 def test_version(self):
     self.assertTrue(
         libtesseract.get_version() in (
             (3, 2, 1),
             (3, 2, 2),
             (3, 3, 0),
             (3, 4, 0),
             (3, 4, 1),
             (3, 5, 0),
         ), ("Tesseract does not have the expected version"))
Ejemplo n.º 3
0
 def test_version(self):
     self.assertTrue(
         libtesseract.get_version() in (
             (3, 2, 1),
             (3, 2, 2),
             (3, 3, 0),
             (3, 4, 0),
             (3, 4, 1),
             (3, 5, 0),
         ),
         ("Tesseract does not have the expected version")
     )