diff --git a/pubnub/endpoints/entities/user/update_user.py b/pubnub/endpoints/entities/user/update_user.py index b5c7abd1..ab2bafa5 100644 --- a/pubnub/endpoints/entities/user/update_user.py +++ b/pubnub/endpoints/entities/user/update_user.py @@ -1,4 +1,4 @@ -from pubnub.endpoints.entities.endpoint import EntitiesEndpoint, UserEndpoint,\ +from pubnub.endpoints.entities.endpoint import EntitiesEndpoint, UserEndpoint, \ IncludeCustomEndpoint, CustomAwareEndpoint from pubnub.enums import PNOperationType from pubnub.enums import HttpMethod diff --git a/pubnub/request_handlers/requests_handler.py b/pubnub/request_handlers/requests_handler.py index 5c87fdf0..f6113f39 100644 --- a/pubnub/request_handlers/requests_handler.py +++ b/pubnub/request_handlers/requests_handler.py @@ -9,7 +9,7 @@ from pubnub import utils from pubnub.enums import PNStatusCategory -from pubnub.errors import PNERR_CLIENT_ERROR, PNERR_UNKNOWN_ERROR, PNERR_TOO_MANY_REDIRECTS_ERROR,\ +from pubnub.errors import PNERR_CLIENT_ERROR, PNERR_UNKNOWN_ERROR, PNERR_TOO_MANY_REDIRECTS_ERROR, \ PNERR_CLIENT_TIMEOUT, PNERR_HTTP_ERROR, PNERR_CONNECTION_ERROR from pubnub.errors import PNERR_SERVER_ERROR from pubnub.exceptions import PubNubException diff --git a/tests/functional/event_engine/test_subscribe.py b/tests/functional/event_engine/test_subscribe.py index 1a08e52f..c8093cd9 100644 --- a/tests/functional/event_engine/test_subscribe.py +++ b/tests/functional/event_engine/test_subscribe.py @@ -56,7 +56,8 @@ async def test_subscribe(mocked_status, mocked_message): await asyncio.gather(*asyncio.tasks.all_tasks()) except asyncio.CancelledError: pass - await asyncio.sleep(0) + + await asyncio.sleep(0.1) await pubnub.close_session()