def test_main_greenlet(self): # the main greenlet must not be affected by the tracer main_greenlet = gevent.getcurrent() ctx = getattr(main_greenlet, '__datadog_context', None) ok_(ctx is None)