Fix a syntax warning in newer python versions

This commit is contained in:
andrew committed 2023-08-21 14:30:30 -04:00
1 parent 8e5afa9a2e
commit 61625aa0d5
1 file changed
+1 -1
+1 -1
View File
@@ -82,7 +82,7 @@ def longStatBlock(test):
threads = int(OpenBench.utils.extract_option(test.dev_options, 'Threads'))
hash = int(OpenBench.utils.extract_option(test.dev_options, 'Hash'))
timecontrol = test.dev_time_control + ['s', '']['=' in test.dev_time_control]
test_type = 'SPRT' if test.test_mode is 'SPRT' else 'Conf'
test_type = 'SPRT' if test.test_mode == 'SPRT' else 'Conf'
lower, elo, upper = OpenBench.stats.ELO(test.wins, test.losses, test.draws)