diff --git a/crates/cli/tests/ui_with_python.rs b/crates/cli/tests/ui_with_python.rs index 826f399c..0fa5ae33 100644 --- a/crates/cli/tests/ui_with_python.rs +++ b/crates/cli/tests/ui_with_python.rs @@ -4,6 +4,10 @@ use std::path::PathBuf; use assert_cmd::Command; use expect_test::expect_file; +#[cfg(not(feature = "python"))] +fn main() {} + +#[cfg(feature = "python")] fn main() { let mut test_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR")); test_dir.push("tests/python");