Skip to content

Commit

Permalink
try again to fix bug in error message mattch for Python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann committed Dec 19, 2018
1 parent 30de073 commit 1facfb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def test_filter_time_exact_match(test_df):


def test_filter_time_range(test_df):
error_msg = r".*datetime.datetime.* object cannot be interpreted as an int"
error_msg = r".*datetime.datetime.*"
with pytest.raises(TypeError, match=error_msg):
obs = test_df.filter(year=range(
datetime.datetime(2000, 6, 17),
Expand Down

0 comments on commit 1facfb5

Please sign in to comment.