ci(python): Fix broken tests (#1103)

Fix the python tests that depend of having the correct version of Python
installed on the build system.
This commit is contained in:
Thomas O'Donnell 2020-04-14 14:48:10 +02:00 committed by GitHub
parent 965338df95
commit 5272d5c1ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,7 @@ fn folder_with_setup_py() -> io::Result<()> {
.output()?;
let actual = String::from_utf8(output.stdout).unwrap();
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.5"));
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.6"));
assert_eq!(expected, actual);
Ok(())
}
@ -120,7 +120,7 @@ fn folder_with_init_py() -> io::Result<()> {
.output()?;
let actual = String::from_utf8(output.stdout).unwrap();
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.5"));
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.6"));
assert_eq!(expected, actual);
Ok(())
}
@ -212,7 +212,7 @@ fn disabled_scan_for_pyfiles_and_folder_with_setup_py() -> io::Result<()> {
.output()?;
let actual = String::from_utf8(output.stdout).unwrap();
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.5"));
let expected = format!("via {} ", Color::Yellow.bold().paint("🐍 v3.7.6"));
assert_eq!(expected, actual);
Ok(())
}