X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/e74117f172e29e8a980e2c9de929ad50d3769150..74f8c1316ce36bb551db709d1a85fa90254b94dd:/tests/import_spacing.py diff --git a/tests/import_spacing.py b/tests/import_spacing.py index 0597b62..87a5301 100644 --- a/tests/import_spacing.py +++ b/tests/import_spacing.py @@ -13,13 +13,12 @@ from .futures import * from .locks import * # comment here from .protocols import * -from .runners import * # comment here -from .queues import * -from .streams import * +from ..runners import * # comment here +from ..queues import * +from ..streams import * -from .subprocess import * -from .tasks import * -from .transports import * +from .a.b.c.subprocess import * +from . import tasks __all__ = ( base_events.__all__ + @@ -31,9 +30,7 @@ __all__ = ( runners.__all__ + queues.__all__ + streams.__all__ + - subprocess.__all__ + - tasks.__all__ + - transports.__all__ + tasks.__all__ ) @@ -41,7 +38,9 @@ __all__ = ( """The asyncio package, tracking PEP 3156.""" + # flake8: noqa + import sys # This relies on each of the submodules having an __all__ variable. @@ -53,13 +52,12 @@ from .futures import * from .locks import * # comment here from .protocols import * -from .runners import * # comment here -from .queues import * -from .streams import * +from ..runners import * # comment here +from ..queues import * +from ..streams import * -from .subprocess import * -from .tasks import * -from .transports import * +from .a.b.c.subprocess import * +from . import tasks __all__ = ( base_events.__all__ + @@ -71,7 +69,5 @@ __all__ = ( runners.__all__ + queues.__all__ + streams.__all__ + - subprocess.__all__ + - tasks.__all__ + - transports.__all__ + tasks.__all__ )