Skip to content

Commit e5f0653

Browse files
committed
Regex error fixed
1 parent efefb48 commit e5f0653

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stingray/pulse/tests/test_search.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@ def test_plot_phaseogram_direct(self):
113113

114114
def test_search_wrong_key_fails(self):
115115
with pytest.raises(
116-
ValueError,
117-
match="Unidentified keyword(s) to fold_events: fdot, fddot \n Please refer to the description of the function for optional parameters.",
116+
ValueError, match=r"Unidentified keyword\(s\) to fold_events: fdot, fddot"
118117
):
119118
phase, prof, _ = fold_events(self.event_times, self.pulse_frequency, fdot=12, fddot=34)
120119

0 commit comments

Comments
 (0)