Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from setuptools.command.sdist import sdist as sdist


CYTHON_DEPENDENCY = 'Cython(>=0.29.20,<0.30.0)'
CYTHON_DEPENDENCY = 'Cython(>=0.29.24,<0.30.0)'

# Minimal dependencies required to test uvloop.
TEST_DEPENDENCIES = [
Expand Down
5 changes: 4 additions & 1 deletion tests/test_cython.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ def test_cython_coro_is_coroutine(self):

coro = _test_coroutine_1()

coro_fmt = _format_coroutine(coro)
self.assertTrue(
_format_coroutine(coro).startswith('_test_coroutine_1() done'))
coro_fmt.startswith('_test_coroutine_1() done')
or coro_fmt.startswith('_test_coroutine_1() running')
)
self.assertEqual(_test_coroutine_1.__qualname__, '_test_coroutine_1')
self.assertEqual(_test_coroutine_1.__name__, '_test_coroutine_1')
self.assertTrue(asyncio.iscoroutine(coro))
Expand Down