From 80b7412604da6a81a5906c27be4ccb5265c672a0 Mon Sep 17 00:00:00 2001 From: johndoknjas Date: Tue, 27 Aug 2024 12:00:58 -0700 Subject: [PATCH] test --- tests/stockfish/test_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/stockfish/test_models.py b/tests/stockfish/test_models.py index 0215a52..5a97817 100644 --- a/tests/stockfish/test_models.py +++ b/tests/stockfish/test_models.py @@ -89,7 +89,7 @@ def test_get_best_move_remaining_time_not_first_move(self, stockfish: Stockfish) assert best_move in ("d2d4", "a2a3", "d1e2", "b1c3") best_move = stockfish.get_best_move(btime=1000) if best_move not in (["d2d4", "b1c3"]): - assert major_version == -1 + assert stockfish._version == {} best_move = stockfish.get_best_move(wtime=1000, btime=1000) assert best_move in ("d2d4", "b1c3", "g1f3") best_move = stockfish.get_best_move(wtime=5 * 60 * 1000, btime=1000)