From 6a7ef523183b0569949648fae81f85f997b4c7c8 Mon Sep 17 00:00:00 2001 From: konstin Date: Mon, 9 May 2022 21:19:15 +0200 Subject: [PATCH] more windows test case debugging the actual thing works, it's just the test case that is broken :/ --- test-crates/with-data/check_installed/check_installed.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test-crates/with-data/check_installed/check_installed.py b/test-crates/with-data/check_installed/check_installed.py index f43fb6050..7975592f8 100644 --- a/test-crates/with-data/check_installed/check_installed.py +++ b/test-crates/with-data/check_installed/check_installed.py @@ -1,3 +1,4 @@ +import locale import sys from pathlib import Path @@ -12,7 +13,11 @@ installed_data = ( venv_root.joinpath("data_subdir").joinpath("hello.txt").read_text().strip() ) - assert installed_data == "Hi! 😊" + assert installed_data == "Hi! 😊", ( + installed_data, + "Hi! 😊", + locale.getpreferredencoding(), + ) header_file = ( venv_root.joinpath("include") .joinpath("site")