mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
SCRATCH COMMIT: I expect this to break macOS and Windows CI
This commit is contained in:
parent
d27cec78b4
commit
6b7181857d
1 changed files with 1 additions and 10 deletions
|
@ -13,7 +13,6 @@ use assert_cmd::assert::{Assert, OutputAssertExt};
|
||||||
use assert_fs::assert::PathAssert;
|
use assert_fs::assert::PathAssert;
|
||||||
use assert_fs::fixture::{ChildPath, PathChild, PathCopy, PathCreateDir, SymlinkToFile};
|
use assert_fs::fixture::{ChildPath, PathChild, PathCopy, PathCreateDir, SymlinkToFile};
|
||||||
use base64::{Engine, prelude::BASE64_STANDARD as base64};
|
use base64::{Engine, prelude::BASE64_STANDARD as base64};
|
||||||
use etcetera::BaseStrategy;
|
|
||||||
use futures::StreamExt;
|
use futures::StreamExt;
|
||||||
use indoc::formatdoc;
|
use indoc::formatdoc;
|
||||||
use itertools::Itertools;
|
use itertools::Itertools;
|
||||||
|
@ -417,15 +416,7 @@ impl TestContext {
|
||||||
/// returns resolved symlink). This is problematic, as we _don't_ want to resolve symlinks
|
/// returns resolved symlink). This is problematic, as we _don't_ want to resolve symlinks
|
||||||
/// for user-provided paths.
|
/// for user-provided paths.
|
||||||
pub fn test_bucket_dir() -> PathBuf {
|
pub fn test_bucket_dir() -> PathBuf {
|
||||||
env::var(EnvVars::UV_INTERNAL__TEST_DIR)
|
std::env::temp_dir()
|
||||||
.map(PathBuf::from)
|
|
||||||
.unwrap_or_else(|_| {
|
|
||||||
etcetera::base_strategy::choose_base_strategy()
|
|
||||||
.expect("Failed to find base strategy")
|
|
||||||
.data_dir()
|
|
||||||
.join("uv")
|
|
||||||
.join("tests")
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Create a new test context with multiple Python versions.
|
/// Create a new test context with multiple Python versions.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue