From 5272d5c1ce9e32f73bdedb96dccc4b01ee05a76f Mon Sep 17 00:00:00 2001 From: Thomas O'Donnell Date: Tue, 14 Apr 2020 14:48:10 +0200 Subject: [PATCH] ci(python): Fix broken tests (#1103) Fix the python tests that depend of having the correct version of Python installed on the build system. --- tests/testsuite/python.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testsuite/python.rs b/tests/testsuite/python.rs index b667958e..a432f5fe 100644 --- a/tests/testsuite/python.rs +++ b/tests/testsuite/python.rs @@ -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(()) }