File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -439,6 +439,8 @@ pub fn identify_python_executables_using_locators(
439439#[ cfg( test) ]
440440mod tests {
441441 use std:: fs;
442+ #[ cfg( unix) ]
443+ use std:: path:: PathBuf ;
442444 use tempfile:: TempDir ;
443445
444446 /// Test that `path().is_dir()` properly follows symlinks to directories.
@@ -599,7 +601,12 @@ mod tests {
599601 let tmp = TempDir :: new ( ) . expect ( "Failed to create temp dir" ) ;
600602
601603 // Create a "deep" target directory structure
602- let deep_target = tmp. path ( ) . join ( "deep" ) . join ( "nested" ) . join ( "path" ) . join ( "venv" ) ;
604+ let deep_target = tmp
605+ . path ( )
606+ . join ( "deep" )
607+ . join ( "nested" )
608+ . join ( "path" )
609+ . join ( "venv" ) ;
603610 fs:: create_dir_all ( & deep_target) . expect ( "Failed to create deep target" ) ;
604611
605612 // Create a container with a symlink pointing to the deep target
You can’t perform that action at this time.
0 commit comments