diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2020-04-07 11:37:16 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2020-04-07 11:37:16 +0200 |
commit | 30c891e0dc36a553455df9064ecb1f13414a12d2 (patch) | |
tree | 9a8d9e7623cdd733b4ac6418e0b5d84919ab7995 | |
parent | 3d9459c01f9d634818ae72ddd44ea2d9b8bf5b70 (diff) | |
download | cython-30c891e0dc36a553455df9064ecb1f13414a12d2.tar.gz |
Fix test compilation in MSVC (which rejects literal division by zero).
-rw-r--r-- | tests/run/test_asyncgen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/run/test_asyncgen.py b/tests/run/test_asyncgen.py index eebbb4c82..aa19727cb 100644 --- a/tests/run/test_asyncgen.py +++ b/tests/run/test_asyncgen.py @@ -894,7 +894,7 @@ class AsyncGenAsyncioTest(unittest.TestCase): async def target(): await asyncio.sleep(0.01) - 1 / 0 + 1 / ZERO async def foo(): nonlocal DONE |