def teardown_mock_database(self):
        couchlog.signals.got_request_exception.connect(
            couchlog.signals.log_request_exception)
        self._db_patch.stop()
Remove cursor patch.
dataset/ETHPy150Open dimagi/commcare-hq/testrunner.py/TwoStageTestRunner.teardown_mock_database