def _keyboard_interrupt_handler(self, signal_number, stack_frame):
        self._keyboard_interrupt_intercepted = True
        sys.stderr.write(" <Test run halted by Ctrl-C> ")
        # Set the interrupt handler back to the default handler, so that
        # another Ctrl-C press will trigger immediate exit.
        signal.signal(signal.SIGINT, self._default_keyboard_interrupt_handler)
Test whether field selectors for lazy virtual fields
dataset/ETHPy150Open Almad/django-sane-testing/djangosanetesting/runnercompat.py/DjangoTestRunner._keyboard_interrupt_handler--crossover with--dataset/ETHPy150Open sahana/eden/modules/unit_tests/s3/s3resource.py/ResourceLazyVirtualFieldsSupportTests.testLazyVirtualFieldsResolve