Skip to content

Commit 0496574

Browse files
Apply ruff/refurb rule FURB167
Use of regular expression alias
1 parent 4761080 commit 0496574

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

uvloop/_testbase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class MockPattern(str):
2424
__slots__ = ()
2525

2626
def __eq__(self, other):
27-
return bool(re.search(str(self), other, re.S))
27+
return bool(re.search(str(self), other, re.DOTALL))
2828

2929

3030
class TestCaseDict(collections.UserDict):

0 commit comments

Comments
 (0)