Skip to content

Commit

Permalink
FIX: use use_color argument in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Mar 12, 2024
1 parent 3e67c14 commit 689afc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_update_pip_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 689afc2

Please sign in to comment.