From af1663d35810fdcd4c25a3ed2e8f0d71b55c341d Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 8 Jan 2023 18:02:08 +0800 Subject: [PATCH] Black fixes --- reactivex/operators/__init__.py | 1 - tests/test_observable/test_switchmap.py | 6 +++--- tests/test_observable/test_switchmapindexed.py | 8 ++++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/reactivex/operators/__init__.py b/reactivex/operators/__init__.py index 7a1a5b45..76bd13c0 100644 --- a/reactivex/operators/__init__.py +++ b/reactivex/operators/__init__.py @@ -26,7 +26,6 @@ Observable, abc, compose, - just, typing, ) from reactivex.internal.basic import identity diff --git a/tests/test_observable/test_switchmap.py b/tests/test_observable/test_switchmap.py index 44a1433e..363b818a 100644 --- a/tests/test_observable/test_switchmap.py +++ b/tests/test_observable/test_switchmap.py @@ -174,9 +174,9 @@ def test_switch_map_default_mapper(self): xs = hot( " ---a---b------c-----", { - "a": cold(" --1--2"), - "b": cold(" --1-2-3-4-5|"), - "c": cold(" --1--2"), + "a": cold(" --1--2", None, None), + "b": cold(" --1-2-3-4-5|", None, None), + "c": cold(" --1--2", None, None), }, None, ) diff --git a/tests/test_observable/test_switchmapindexed.py b/tests/test_observable/test_switchmapindexed.py index 09736d5f..5d5b3d15 100644 --- a/tests/test_observable/test_switchmapindexed.py +++ b/tests/test_observable/test_switchmapindexed.py @@ -3,8 +3,8 @@ from reactivex import interval from reactivex import operators as ops from reactivex.testing import ReactiveTest, TestScheduler -from reactivex.testing.subscription import Subscription from reactivex.testing.marbles import marbles_testing +from reactivex.testing.subscription import Subscription on_next = ReactiveTest.on_next on_completed = ReactiveTest.on_completed @@ -174,9 +174,9 @@ def test_switch_map_default_mapper(self): xs = hot( " ---a---b------c-----", { - "a": cold(" --1--2"), - "b": cold(" --1-2-3-4-5|"), - "c": cold(" --1--2"), + "a": cold(" --1--2", None, None), + "b": cold(" --1-2-3-4-5|", None, None), + "c": cold(" --1--2", None, None), }, None, )