Skip to content

Commit 75cffe2

Browse files
committed
Fix constants test
1 parent 8a5df76 commit 75cffe2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

coconut/tests/constants_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ def test_imports(self):
9898
or PYPY and new_imp.startswith("tkinter")
9999
# don't test trollius on PyPy
100100
or PYPY and old_imp == "trollius"
101-
# don't test typing_extensions on Python 2
102-
or PY2 and old_imp.startswith("typing_extensions")
101+
# don't test typing_extensions, async_generator on Python 2
102+
or PY2 and old_imp.startswith(("typing_extensions", "async_generator"))
103103
):
104104
pass
105105
elif sys.version_info >= ver_cutoff:

0 commit comments

Comments
 (0)