MCPcopy Index your code
hub / github.com/RustPython/RustPython / __init__

Method __init__

extra_tests/custom_text_test_runner.py:780–797  ·  view source on GitHub ↗
(
        self,
        stream=sys.stderr,
        descriptions=True,
        verbosity=1,
        failfast=False,
        buffer=False,
        resultclass=CustomTextTestResult,
        results_file_path="results.json",
        result_screenshots_dir="",
        show_previous_results=False,
        test_name=None,
        test_description=None,
        config=None,
        test_types=None,
    )

Source from the content-addressed store, hash-verified

778 """
779
780 def __init__(
781 self,
782 stream=sys.stderr,
783 descriptions=True,
784 verbosity=1,
785 failfast=False,
786 buffer=False,
787 resultclass=CustomTextTestResult,
788 results_file_path="results.json",
789 result_screenshots_dir="",
790 show_previous_results=False,
791 test_name=None,
792 test_description=None,
793 config=None,
794 test_types=None,
795 ):
796 store_class_fields(self, locals())
797 self.stream = _WritelnDecorator(stream)
798
799 def _makeResult(self):
800 return self.resultclass(

Callers

nothing calls this directly

Calls 3

store_class_fieldsFunction · 0.85
localsFunction · 0.85
_WritelnDecoratorClass · 0.70

Tested by

no test coverage detected