From c1cd8fdfb0ca61434b755b926d0b138e577af653 Mon Sep 17 00:00:00 2001 From: konstin Date: Sat, 10 Feb 2024 15:35:19 -0500 Subject: [PATCH] Fix linux --- crates/monotrail-utils/src/standalone_python.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/monotrail-utils/src/standalone_python.rs b/crates/monotrail-utils/src/standalone_python.rs index ac13364..0b29ee7 100644 --- a/crates/monotrail-utils/src/standalone_python.rs +++ b/crates/monotrail-utils/src/standalone_python.rs @@ -337,7 +337,7 @@ mod test { #[cfg(all(target_os = "linux", target_arch = "x86_64"))] fn test_provision_nonexistent_version() { let _mocks = mock(); - let tempdir = tempdir().unwrap(); + let tempdir = tempfile::tempdir().unwrap(); let err = provision_python((3, 0), tempdir.path()).unwrap_err(); let expected = vec![ r"Couldn't find a matching python 3.0 to download",