Skip to content

Commit 8106487

Browse files
committed
Format hack for black.
1 parent 56d1aa7 commit 8106487

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

tests/test_icalendar.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -285,16 +285,9 @@ def test_regexes():
285285
assert re.findall(vobject.base.P_NAME, "12foo-bar:yay") == ["12foo-bar", "yay"]
286286
assert re.findall(vobject.base.P_SAFE_CHAR, 'a;b"*,cd') == ["a", "b", "*", "c", "d"]
287287
assert re.findall(vobject.base.P_QSAFE_CHAR, 'a;b"*,cd') == ["a", ";", "b", "*", ",", "c", "d"]
288-
assert re.findall(vobject.base.P_PARAM_VALUE, '"quoted";not-quoted;start"after-illegal-quote', re.VERBOSE) == [
289-
'"quoted"',
290-
"",
291-
"not-quoted",
292-
"",
293-
"start",
294-
"",
295-
"after-illegal-quote",
296-
"",
297-
]
288+
assert re.findall(
289+
vobject.base.P_PARAM_VALUE, '"quoted";not-quoted;start"after-illegal-quote', re.VERBOSE # black hack
290+
) == ['"quoted"', "", "not-quoted", "", "start", "", "after-illegal-quote", ""]
298291

299292
match = vobject.base.line_re.match('TEST;ALTREP="http://www.wiz.org":value:;"')
300293
assert match.group("value") == 'value:;"'

0 commit comments

Comments
 (0)