Skip to content

Commit de59b63

Browse files
committed
Remove unnecessary assertion
1 parent 99afc12 commit de59b63

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

tests/storage/test_thread_subscriptions.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,9 @@ def test_set_and_get_thread_subscription(self) -> None:
167167
self.assertTrue(subscription.automatic) # type: ignore
168168

169169
# Now make it a manual subscription
170-
self.assertIsInstance(
171-
self._subscribe(
172-
self.thread_root_id,
173-
automatic_event_orderings=None,
174-
),
175-
int,
170+
self._subscribe(
171+
self.thread_root_id,
172+
automatic_event_orderings=None,
176173
)
177174

178175
# Assert the manual subscription overrode the automatic one

0 commit comments

Comments
 (0)