summaryrefslogtreecommitdiff
path: root/tests/feature_check/async_check.py
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-02-14 22:03:25 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2017-02-14 22:03:25 +0300
commitce2e0eeb7b0eeb8d5f188ec98e1f1b3d1307ca9c (patch)
treecb8737b64a6ea2dd4e0e046582d7714eb1b171a7 /tests/feature_check/async_check.py
parentc6fd9ba4f371dc8f2ec5e1859587fafa15bef9d0 (diff)
tests/run-tests: Allow to skip tests using async/await keywords.
Diffstat (limited to 'tests/feature_check/async_check.py')
-rw-r--r--tests/feature_check/async_check.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/feature_check/async_check.py b/tests/feature_check/async_check.py
new file mode 100644
index 000000000..0f6361cd1
--- /dev/null
+++ b/tests/feature_check/async_check.py
@@ -0,0 +1,3 @@
+# check if async/await keywords are supported
+async def foo():
+ await 1