Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(shell): gate python utf8 import behind modules feature

Steven Enamakelbf2fb29c98df
diff --git a/crates/openhuman-core/src/tools/impl/system/shell_tests_platform_tests.rs b/crates/openhuman-core/src/tools/impl/system/shell_tests_platform_tests.rs
index dda93cc070..020d7df9cf 100644
--- a/crates/openhuman-core/src/tools/impl/system/shell_tests_platform_tests.rs
+++ b/crates/openhuman-core/src/tools/impl/system/shell_tests_platform_tests.rs
@@ -5,6 +5,8 @@
//! pinned on every CI host, not only on a Windows runner.
use super::*;
+#[cfg(feature = "modules")]
+use super::super::shell_support::PYTHON_UTF8_DEFAULTS;
use crate::agent::host_runtime::{host_shell_flavor, ShellFlavor};
use std::collections::HashMap;
use std::ffi::OsString;