Skip to content

Truly independent web browser

test-web: Use "python" instead of "python3" on Windows

Zaggy1024f9f51d7a80d4
diff --git a/Tests/LibWeb/test-web/Application.cpp b/Tests/LibWeb/test-web/Application.cpp
index 268b945b0f3..3c1b37cb41d 100644
--- a/Tests/LibWeb/test-web/Application.cpp
+++ b/Tests/LibWeb/test-web/Application.cpp
@@ -19,7 +19,11 @@ namespace TestWeb {
Application::Application(Optional<ByteString> ladybird_binary_path)
: WebView::Application(move(ladybird_binary_path))
, test_concurrency(Core::System::hardware_concurrency())
+#if defined(AK_OS_WINDOWS)
+ , python_executable_path("python")
+#else
, python_executable_path("python3")
+#endif
{
if (auto ladybird_source_dir = Core::Environment::get("LADYBIRD_SOURCE_DIR"sv); ladybird_source_dir.has_value())
test_root_path = LexicalPath::join(*ladybird_source_dir, "Tests"sv, "LibWeb"sv).string();