Skip to content
This repository was archived by the owner on Nov 2, 2022. It is now read-only.

Commit 4024274

Browse files
committed
remove more format.
1 parent f3cc801 commit 4024274

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exceptiongroup/_tests/test_tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def test_split_when_contains_matched_and_unmatched():
4848
group = ExceptionGroup(
4949
"Many Errors",
5050
[error1, error2],
51-
["Runtime Error1", "Value Error2"]
51+
['Runtime Error1', 'Value Error2']
5252
)
5353
matched, unmatched = split(RuntimeError, group)
5454
assert isinstance(matched, ExceptionGroup)
@@ -70,7 +70,7 @@ def _match(err):
7070
group = ExceptionGroup(
7171
"Many Errors",
7272
[error1, error2],
73-
["skip", "Runtime Error"]
73+
['skip', 'Runtime Error']
7474
)
7575
matched, unmatched = split(RuntimeError, group, match=_match)
7676
assert matched.exceptions == [error2]

0 commit comments

Comments
 (0)