Skip to content

Commit

Permalink
fix regex match for python < 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
jbandoro committed Jan 5, 2024
1 parent 3911bb9 commit 4997eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/operators/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

def test_dbt_base_operator_is_abstract():
"""Tests that the abstract base operator cannot be instantiated since the base_cmd is not defined."""
expected_error = "Can't instantiate abstract class AbstractDbtBaseOperator with abstract method base_cmd"
expected_error = "Can't instantiate abstract class AbstractDbtBaseOperator with abstract methods? base_cmd"
with pytest.raises(TypeError, match=expected_error):
AbstractDbtBaseOperator()

Expand Down

0 comments on commit 4997eda

Please sign in to comment.