Skip to content

Commit 65fcf28

Browse files
committed
Tweaks required by black
1 parent 4929ee4 commit 65fcf28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_text.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import re
2-
32
from io import StringIO
43
from typing import List
54

@@ -213,7 +212,9 @@ def test_highlight_regex():
213212
text = Text("Ada Lovelace, Alan Turing")
214213

215214
count = text.highlight_regex(
216-
re.compile(r"(?P<yellow>[A-Za-z]+)[ ]+(?P<red>[A-Za-z]+)(?P<NEVER_MATCH>NEVER_MATCH)*")
215+
re.compile(
216+
r"(?P<yellow>[A-Za-z]+)[ ]+(?P<red>[A-Za-z]+)(?P<NEVER_MATCH>NEVER_MATCH)*"
217+
)
217218
)
218219

219220
# The number of matched name should be 2
@@ -226,7 +227,6 @@ def test_highlight_regex():
226227
]
227228

228229

229-
230230
def test_highlight_regex_callable():
231231
text = Text("Vulnerability CVE-2018-6543 detected")
232232
re_cve = r"CVE-\d{4}-\d+"

0 commit comments

Comments
 (0)