mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-01-08 05:33:52 -05:00
More linter fixes maybe?
This commit is contained in:
@@ -89,7 +89,7 @@ def wait_for_benchmark_process(test_name, process_name, timeout=60):
|
||||
# If we exceed the timeout, break out of the loop and log an error
|
||||
if time.time() - start_time > timeout:
|
||||
logging.error("Timeout reached while waiting for process '%s'.", process_name)
|
||||
raise TimeoutError("Process '%s' did not start within the expected time. Is the game configured for DX12?", process_name)
|
||||
raise TimeoutError("Process '%s' did not start within the expected time. Is the game configured for DX12?" % process_name)
|
||||
|
||||
# Wait for 1 second before checking again
|
||||
time.sleep(1)
|
||||
|
||||
@@ -31,7 +31,7 @@ def export_registry_key(hive, subkey, input_file):
|
||||
index += 1
|
||||
except OSError:
|
||||
pass
|
||||
except WindowsError as e:
|
||||
except OSError as e:
|
||||
print(f"Failed to open the registry key: {e}")
|
||||
|
||||
def convert_dword_to_decimal(dword_hex):
|
||||
|
||||
Reference in New Issue
Block a user