Skip to content

Commit 576627b

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

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

tests/ingest_stringify_test.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,10 @@ def test_interface():
236236
"Document",
237237
bases=["Blob"],
238238
children=[
239-
(
240-
GMethod(
241-
"createElement",
242-
arguments=[GArg("localName", "DOMString")],
243-
returns="FooElement",
244-
)
239+
GMethod(
240+
"createElement",
241+
arguments=[GArg("localName", "DOMString")],
242+
returns="FooElement",
245243
)
246244
],
247245
)
@@ -252,7 +250,7 @@ def test_complete_interface():
252250
_verify_root_stmt(
253251
"interface Doc : Blob { attribute Blob baz; } ",
254252
"class Doc(Blob):\n baz: Blob",
255-
GClass("Doc", bases=["Blob"], children=[(GAttribute("baz", "Blob"))]),
253+
GClass("Doc", bases=["Blob"], children=[GAttribute("baz", "Blob")]),
256254
)
257255

258256

@@ -262,7 +260,7 @@ def test_namespace():
262260
"class ConsoleNamespace:\n def log(self, *data: Any): ...",
263261
GClass(
264262
"console",
265-
children=[(GMethod("log", [GArgVariadic("data", "any")]))],
263+
children=[GMethod("log", [GArgVariadic("data", "any")])],
266264
is_namespace=True,
267265
),
268266
)

0 commit comments

Comments
 (0)