We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85f9a0d commit 1b760afCopy full SHA for 1b760af
crates/uv/tests/it/common/mod.rs
@@ -215,8 +215,9 @@ impl TestContext {
215
216
/// Adds a filter that ignores platform information in a Python installation key.
217
pub fn with_filtered_python_keys(mut self) -> Self {
218
+ // Filter platform keys
219
self.filters.push((
- r"((?:cpython|pypy)-\d+\.\d+(:?\.\d+)?[a-z]?(:?\+[a-z]+)?)-.*".to_string(),
220
+ r"((?:cpython|pypy)-\d+\.\d+(?:\.(?:\[X\]|\d+))?[a-z]?(?:\+[a-z]+)?)-.*".to_string(),
221
"$1-[PLATFORM]".to_string(),
222
));
223
self
0 commit comments