From 2e568a563a2d880969aae3584b1a4d0d21bf34cd Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Sat, 24 Oct 2020 17:26:32 -0300 Subject: [PATCH] Adapted the colors test to colorama ANSI sequence. --- tests/test_plot/test_position.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_plot/test_position.py b/tests/test_plot/test_position.py index 1c1e7878..78d99c70 100644 --- a/tests/test_plot/test_position.py +++ b/tests/test_plot/test_position.py @@ -115,7 +115,7 @@ def test_3Rs_position_csv(): ctx.expect_out_file(pos_bot) expect_position(ctx, pos_top, ['R1'], ['R2', 'R3'], csv=True) expect_position(ctx, pos_bot, ['R2'], ['R1', 'R3'], csv=True) - assert ctx.search_err(r"\[36;1mDEBUG:") is not None + assert ctx.search_err(r"\[36m.\[1mDEBUG:") is not None ctx.clean_up()