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 erlendaasland
Recipients asvetlov, erlendaasland, kumaraditya, yselivanov
Date 2022-01-11.09:03:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641891802.21.0.394236284413.issue46340@roundup.psfhosted.org>
In-reply-to
Content
FTR, a rough grep for other users of get_event_loop in Lib/test (some false positives):

```
$ grep -rE "\<get_event_loop\>" Lib/test
Lib/test/test_contextlib_async.py:            loop = asyncio.get_event_loop_policy().get_event_loop()
Lib/test/test_asyncio/test_base_events.py:            'loop = asyncio.get_event_loop()',
Lib/test/test_asyncio/test_windows_events.py:        loop = asyncio.get_event_loop()
Lib/test/test_asyncio/test_runners.py:    def get_event_loop(self):
Lib/test/test_asyncio/test_runners.py:            loop = asyncio.get_event_loop()
Lib/test/test_asyncio/test_unix_events.py:            self.assertIsInstance(policy.get_event_loop(),
Lib/test/test_asyncio/test_unix_events.py:            policy.get_event_loop().close()
Lib/test/test_asyncio/test_unix_events.py:        loop = policy.get_event_loop()
Lib/test/test_asyncio/test_events.py:        self.assertRaises(NotImplementedError, policy.get_event_loop)
Lib/test/test_asyncio/test_events.py:        loop = policy.get_event_loop()
Lib/test/test_asyncio/test_events.py:        self.assertIs(loop, policy.get_event_loop())
Lib/test/test_asyncio/test_events.py:            loop = policy.get_event_loop()
Lib/test/test_asyncio/test_events.py:        self.assertRaises(RuntimeError, policy.get_event_loop)
Lib/test/test_asyncio/test_events.py:            self.assertRaises(RuntimeError, policy.get_event_loop)
Lib/test/test_asyncio/test_events.py:        old_loop = policy.get_event_loop()
Lib/test/test_asyncio/test_events.py:        self.assertIs(loop, policy.get_event_loop())
Lib/test/test_asyncio/test_events.py:        self.assertIsNot(old_loop, policy.get_event_loop())
Lib/test/test_asyncio/test_events.py:        self.get_event_loop_saved = events.get_event_loop
Lib/test/test_asyncio/test_events.py:        events.get_event_loop = type(self).get_event_loop_impl
Lib/test/test_asyncio/test_events.py:        asyncio.get_event_loop = type(self).get_event_loop_impl
Lib/test/test_asyncio/test_events.py:            events.get_event_loop = self.get_event_loop_saved
Lib/test/test_asyncio/test_events.py:            asyncio.get_event_loop = self.get_event_loop_saved
Lib/test/test_asyncio/test_events.py:            def get_event_loop(self):
Lib/test/test_asyncio/test_events.py:                    asyncio.get_event_loop()
Lib/test/test_asyncio/test_events.py:                    asyncio.get_event_loop()
Lib/test/test_asyncio/test_events.py:                self.assertIs(asyncio.get_event_loop(), loop)
Lib/test/test_asyncio/test_events.py:                    asyncio.get_event_loop()
Lib/test/test_asyncio/test_events.py:                    asyncio.get_event_loop()
Lib/test/test_asyncio/test_events.py:                loop2 = asyncio.get_event_loop()
Lib/test/test_asyncio/test_events.py:                    asyncio.get_event_loop()
Lib/test/test_asyncio/test_events.py:                self.assertIs(asyncio.get_event_loop(), loop)
Lib/test/test_asyncio/test_events.py:                self.assertIs(asyncio.get_event_loop(), loop)
Lib/test/test_asyncio/test_events.py:                    asyncio.get_event_loop()
```
History
Date User Action Args
2022-01-11 09:03:22erlendaaslandsetrecipients: + erlendaasland, asvetlov, yselivanov, kumaraditya
2022-01-11 09:03:22erlendaaslandsetmessageid: <1641891802.21.0.394236284413.issue46340@roundup.psfhosted.org>
2022-01-11 09:03:22erlendaaslandlinkissue46340 messages
2022-01-11 09:03:22erlendaaslandcreate