Restore development version
authorFabian Fichter <ianfab@users.noreply.github.com>
Sun, 24 May 2020 14:05:22 +0000 (16:05 +0200)
committerFabian Fichter <ianfab@users.noreply.github.com>
Sun, 24 May 2020 14:06:23 +0000 (16:06 +0200)
src/misc.cpp
test.py

index f69eb25..b3e43bd 100644 (file)
@@ -56,7 +56,7 @@ namespace {
 
 /// Version number. If Version is left empty, then compile date in the format
 /// DD-MM-YY and show in engine_info.
-const string Version = "11.1";
+const string Version = "";
 
 /// Our fancy logging facility. The trick here is to replace cin.rdbuf() and
 /// cout.rdbuf() with two Tie objects that tie cin and cout to a file stream. We
diff --git a/test.py b/test.py
index 97a3f62..2bce111 100644 (file)
--- a/test.py
+++ b/test.py
@@ -124,7 +124,7 @@ variant_positions = {
 class TestPyffish(unittest.TestCase):
     def test_info(self):
         result = sf.info()
-        self.assertEqual(result[:15], "Fairy-Stockfish")
+        self.assertTrue(result.startswith("Fairy-Stockfish"))
 
     def test_set_option(self):
         result = sf.set_option("UCI_Variant", "capablanca")