This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author BTaskaya
Recipients BTaskaya, asvetlov, jack1142, lukasz.langa, miss-islington, pablogsal, serhiy.storchaka, vstinner, yselivanov
Date 2020-04-20.15:18:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
GH 19230:
(.venv) [  6:17PM ]  [ isidentical@threeheadedgiant:~ ]
 $ ./cpython/python
File "/home/isidentical/doctest.txt", line 4, in doctest.txt
Failed example:
    await __import__('asyncio').sleep(1)
Exception raised:
    Traceback (most recent call last):
      File "/home/isidentical/cpython/Lib/", line 1336, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest doctest.txt[0]>", line 1
    SyntaxError: 'await' outside function
1 items had failures:
   1 of   1 in doctest.txt
***Test Failed*** 1 failures.
result: TestResults(failed=1, attempted=1)
Date User Action Args
2020-04-20 15:18:25BTaskayasetrecipients: + BTaskaya, vstinner, asvetlov, lukasz.langa, serhiy.storchaka, yselivanov, pablogsal, miss-islington, jack1142
2020-04-20 15:18:25BTaskayasetmessageid: <>
2020-04-20 15:18:25BTaskayalinkissue39562 messages
2020-04-20 15:18:25BTaskayacreate