From 972d52c8412f970565e3b4c112b831ecb3129cf3 Mon Sep 17 00:00:00 2001 From: Fabian Fichter Date: Sun, 24 May 2020 16:05:22 +0200 Subject: [PATCH] Restore development version --- src/misc.cpp | 2 +- test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/misc.cpp b/src/misc.cpp index f69eb25..b3e43bd 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -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 --- 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") -- 1.7.0.4