Skip to content

Commit de99e1a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent aa7c54d commit de99e1a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_words.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,16 +128,16 @@ def test_as_text(value: Any, expects: str):
128128
((["bob"], ), {}, "bob"),
129129
((["bob", "alice"], ), {}, "bob and alice"),
130130
((["bob", "alice", "fred"], ), {}, "bob, alice and fred"),
131-
((("bob", ), ), {}, "bob"),
131+
((("bob", )), {}, "bob"),
132132
((("bob", "alice"), ), {}, "bob and alice"),
133133
((("bob", "alice", "fred"), ), {}, "bob, alice and fred"),
134-
((("bob", ), ), {"delimiter": ';'}, "bob"),
134+
((("bob", )), {"delimiter": ';'}, "bob"),
135135
((("bob", "alice"), ), {"delimiter": ';'}, "bob and alice"),
136136
((("bob", "alice", "fred"), ), {"delimiter": ';'}, "bob; alice and fred"),
137137
((["bob"], ), {"use_repr": True}, "'bob'"),
138138
((["bob", "alice"], ), {"use_repr": True}, "'bob' and 'alice'"),
139139
((["bob", "alice", "fred"], ), {"use_repr": True}, "'bob', 'alice' and 'fred'"),
140-
((("bob", ), ), {"use_repr": True}, "'bob'"),
140+
((("bob", )), {"use_repr": True}, "'bob'"),
141141
((("bob", "alice"), ), {"use_repr": True}, "'bob' and 'alice'"),
142142
((("bob", "alice", "fred"), ), {"use_repr": True}, "'bob', 'alice' and 'fred'"),
143143
((["bob"], ), {"use_repr": True, "oxford": True}, "'bob'"),
@@ -154,7 +154,7 @@ def test_as_text(value: Any, expects: str):
154154
"'bob', 'alice', or 'fred'",
155155
),
156156
((["bob", "alice"], ), {"connective": "or"}, "bob or alice"),
157-
((("bob", ), ), {"use_repr": True, "oxford": True}, "'bob'"),
157+
((("bob", )), {"use_repr": True, "oxford": True}, "'bob'"),
158158
((("bob", "alice"), ), {"use_repr": True, "oxford": True}, "'bob' and 'alice'"),
159159
((("bob", "alice", "fred"), ), {"use_repr": True, "oxford": True}, "'bob', 'alice', and 'fred'"),
160160
],

0 commit comments

Comments
 (0)