Skip to content

Commit 9493030

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

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

traitlets/tests/test_traitlets.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3138,10 +3138,7 @@ def test_tcp_from_string(s, expected):
31383138

31393139
@pytest.mark.parametrize(
31403140
"s, expected",
3141-
[
3142-
("[]", []),
3143-
('{}', '{}')
3144-
],
3141+
[("[]", []), ("{}", "{}")],
31453142
)
31463143
def test_union_of_list_and_unicode_from_string(s, expected):
31473144
_from_string_test(Union([List(), Unicode()]), s, expected)

traitlets/traitlets.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2189,7 +2189,6 @@ def from_string(self, s):
21892189
self.error(None, s)
21902190

21912191

2192-
21932192
# -----------------------------------------------------------------------------
21942193
# Basic TraitTypes implementations/subclasses
21952194
# -----------------------------------------------------------------------------

0 commit comments

Comments
 (0)