Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alhimik45 authored Jan 31, 2024
1 parent 41a9fb1 commit 18e71c7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -370,13 +370,12 @@ def event_loop():
yield loop
loop.close()


@pytest.mark.asyncio
async def test_delay_done():
xs = AsyncTestSubject()
xs = AsyncTestSubject() # Test stream

ys = pipe(xs, rx.delay(1.0))
obv = AsyncTestObserver()
obv = AsyncTestObserver() # Test AsyncAnonymousObserver
async with await ys.subscribe_async(obv):
await xs.asend_later(0, 10)
await xs.asend_later(1.0, 20)
Expand Down

0 comments on commit 18e71c7

Please sign in to comment.