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 <1587395905.65.0.777510839912.issue39562@roundup.psfhosted.org>
In-reply-to
Content
GH 19230:
(.venv) [  6:17PM ]  [ isidentical@threeheadedgiant:~ ]
 $ ./cpython/python z.py
**********************************************************************
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/doctest.py", 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)
History
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: <1587395905.65.0.777510839912.issue39562@roundup.psfhosted.org>
2020-04-20 15:18:25BTaskayalinkissue39562 messages
2020-04-20 15:18:25BTaskayacreate