(expect_msg)
| 397 | |
| 398 | |
| 399 | def _check_gevent(expect_msg): |
| 400 | from _pydevd_bundle.pydevd_utils import notify_about_gevent_if_needed |
| 401 | |
| 402 | assert not notify_about_gevent_if_needed() |
| 403 | import gevent |
| 404 | |
| 405 | assert not notify_about_gevent_if_needed() |
| 406 | import gevent.monkey |
| 407 | |
| 408 | assert not notify_about_gevent_if_needed() |
| 409 | gevent.monkey.patch_all() |
| 410 | assert notify_about_gevent_if_needed() == expect_msg |
| 411 | |
| 412 | |
| 413 | def check_notify_on_gevent_loaded(): |
no test coverage detected