From 689afc2f04462c4a3a094821a45cb17220fa0ea4 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Tue, 12 Mar 2024 12:39:11 +0100 Subject: [PATCH] FIX: use `use_color` argument in tests --- tests/test_update_pip_constraints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_update_pip_constraints.py b/tests/test_update_pip_constraints.py index 2581af6..212573d 100644 --- a/tests/test_update_pip_constraints.py +++ b/tests/test_update_pip_constraints.py @@ -28,7 +28,7 @@ def test_update_constraints_file_py36(): this_directory = Path(__file__).parent.absolute() output_file = this_directory / "constraints.txt" with pytest.raises(SystemExit) as error: - update_constraints_file_py36(output_file, unsafe_packages=[]) + update_constraints_file_py36(output_file, unsafe_packages=[], use_color=True) assert error.type is SystemExit assert error.value.code == 0 with open(output_file) as stream: