Verified Commit 3f4d1d4e authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Fix some minor styling problems

parent 19c00882
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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}")
		)

+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
+0 −1
Original line number Diff line number Diff line
@@ -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()
+0 −3
Original line number Diff line number Diff line
@@ -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()
@@ -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()
@@ -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()
+3 −3

File changed.

Contains only whitespace changes.