Loading doc/docstring.py +1 −1 Original line number Diff line number Diff line Loading @@ -212,7 +212,7 @@ def dot_import_first(module: ModuleType, cls: type|None, name: str) -> tuple[obj if cls is None: raise return ( (cls, module, f"{module.__name__}.{cls.__name__}") if name == "self" else \ (cls, module, f"{module.__name__}.{cls.__name__}") if name == "self" else (getattr(cls, name), cls, f"{module.__name__}.{cls.__name__}.{name}") ) Loading kilter/service/options.py +2 −2 Original line number Diff line number Diff line # Copyright 2023 Dominik Sekotill <dom.sekotill@kodo.org.uk> # Copyright 2023-2024 Dominik Sekotill <dom.sekotill@kodo.org.uk> # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this Loading tests/test_body_accessor.py +0 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,6 @@ class HeaderAccessorTests(AsyncTestCase): async for chunk in body: result2 += chunk async with trio.open_nursery() as tg: tg.start_soon(test_filter) await trio.testing.wait_all_tasks_blocked() Loading tests/test_header_accessor.py +0 −3 Original line number Diff line number Diff line Loading @@ -67,7 +67,6 @@ class HeaderAccessorTests(AsyncTestCase): async for header in headers: result2.append(header.name) async with trio.open_nursery() as tg: tg.start_soon(test_filter) await trio.testing.wait_all_tasks_blocked() Loading Loading @@ -100,7 +99,6 @@ class HeaderAccessorTests(AsyncTestCase): assert session.phase == Phase.BODY result.append(header.name) async with trio.open_nursery() as tg: tg.start_soon(test_filter) await trio.testing.wait_all_tasks_blocked() Loading @@ -127,7 +125,6 @@ class HeaderAccessorTests(AsyncTestCase): assert session.phase == Phase.BODY result.append(header.name) async with trio.open_nursery() as tg: tg.start_soon(test_filter) await trio.testing.wait_all_tasks_blocked() Loading tests/test_options.py +3 −3 File changed.Contains only whitespace changes. Show changes Loading
doc/docstring.py +1 −1 Original line number Diff line number Diff line Loading @@ -212,7 +212,7 @@ def dot_import_first(module: ModuleType, cls: type|None, name: str) -> tuple[obj if cls is None: raise return ( (cls, module, f"{module.__name__}.{cls.__name__}") if name == "self" else \ (cls, module, f"{module.__name__}.{cls.__name__}") if name == "self" else (getattr(cls, name), cls, f"{module.__name__}.{cls.__name__}.{name}") ) Loading
kilter/service/options.py +2 −2 Original line number Diff line number Diff line # Copyright 2023 Dominik Sekotill <dom.sekotill@kodo.org.uk> # Copyright 2023-2024 Dominik Sekotill <dom.sekotill@kodo.org.uk> # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this Loading
tests/test_body_accessor.py +0 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,6 @@ class HeaderAccessorTests(AsyncTestCase): async for chunk in body: result2 += chunk async with trio.open_nursery() as tg: tg.start_soon(test_filter) await trio.testing.wait_all_tasks_blocked() Loading
tests/test_header_accessor.py +0 −3 Original line number Diff line number Diff line Loading @@ -67,7 +67,6 @@ class HeaderAccessorTests(AsyncTestCase): async for header in headers: result2.append(header.name) async with trio.open_nursery() as tg: tg.start_soon(test_filter) await trio.testing.wait_all_tasks_blocked() Loading Loading @@ -100,7 +99,6 @@ class HeaderAccessorTests(AsyncTestCase): assert session.phase == Phase.BODY result.append(header.name) async with trio.open_nursery() as tg: tg.start_soon(test_filter) await trio.testing.wait_all_tasks_blocked() Loading @@ -127,7 +125,6 @@ class HeaderAccessorTests(AsyncTestCase): assert session.phase == Phase.BODY result.append(header.name) async with trio.open_nursery() as tg: tg.start_soon(test_filter) await trio.testing.wait_all_tasks_blocked() Loading