def cases(self) -> List[DataDrivenTestCase]: c = [] # type: List[DataDrivenTestCase] for f in python_eval_files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_python_evaluation, test_temp_dir, True) if sys.version_info.major == 3 and sys.version_info.minor >= 4: for f in python_34_eval_files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_python_evaluation, test_temp_dir, True) return c
def cases(self): c = [] for f in self.transform_files: c += parse_test_cases( os.path.join(test_data_prefix, f), test_transform, base_path=test_temp_dir, native_sep=True ) return c
def cases(self): # Read test cases from test case description files. c = [] for f in semanal_error_files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_semanal_error, test_temp_dir, optional_out=True) return c
def cases(self): """Test case descriptions""" c = [] for f in semanal_typeinfo_files: c += parse_test_cases(os.path.join(test_data_prefix, f), self.run_test, test_temp_dir) return c
def cases(self) -> List[DataDrivenTestCase]: """Test case descriptions""" c = [] # type: List[DataDrivenTestCase] for f in semanal_typeinfo_files: c += parse_test_cases(os.path.join(test_data_prefix, f), self.run_test, test_temp_dir) return c
def cases(self): # The test case descriptions are stored in data files. c = [] for f in self.parse_files: c += parse_test_cases( os.path.join(config.test_data_prefix, f), test_parser) return c
def cases(cls) -> List[DataDrivenTestCase]: # The test case descriptions are stored in data files. c = [] # type: List[DataDrivenTestCase] for f in cls.parse_files: c += parse_test_cases(os.path.join(config.test_data_prefix, f), test_parser) return c
def cases(self) -> List[DataDrivenTestCase]: # The test case descriptions are stored in data files. c = [] # type: List[DataDrivenTestCase] for f in self.parse_files: c += parse_test_cases( os.path.join(config.test_data_prefix, f), test_parser) return c
def cases(self) -> List[DataDrivenTestCase]: c = [] # type: List[DataDrivenTestCase] for f in self.transform_files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_transform, base_path=test_temp_dir, native_sep=True) return c
def cases(cls) -> List[DataDrivenTestCase]: c = [] # type: List[DataDrivenTestCase] for f in cls.transform_files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_transform, base_path=test_temp_dir, native_sep=True) return c
def cases(self): c = [] for f in semanal_files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_semanal, test_temp_dir, optional_out=True) return c
def cases(self): c = [] for f in self.transform_files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_transform, base_path=test_temp_dir, native_sep=True) return c
def cases(cls) -> List[DataDrivenTestCase]: # Read test cases from test case description files. c = [] # type: List[DataDrivenTestCase] for f in semanal_error_files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_semanal_error, test_temp_dir, optional_out=True) return c
def cases(cls) -> List[DataDrivenTestCase]: c = [] # type: List[DataDrivenTestCase] for f in cmdline_files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_python_evaluation, base_path=test_temp_dir, optional_out=True, native_sep=True) return c
def cases(self): c = [] for f in semanal_files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_semanal, base_path=test_temp_dir, optional_out=True, native_sep=True) return c
def cases(self) -> List[DataDrivenTestCase]: c = [] # type: List[DataDrivenTestCase] for f in semanal_files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_semanal, base_path=test_temp_dir, optional_out=True, native_sep=True) return c
def cases(self) -> List[DataDrivenTestCase]: c = [] # type: List[DataDrivenTestCase] for f in cmdline_files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_python_evaluation, base_path=test_temp_dir, optional_out=True, native_sep=True) return c
def cases(self): c = [] for f in self.test_case_files: c += parse_test_cases( os.path.join(test_data_prefix, f), builtins_wrapper(test_transform, os.path.join(test_data_prefix, TRANSFORM_BUILTINS)), test_temp_dir, True) return c
def cases(self): c = [] for f in self.test_case_files: c += parse_test_cases( os.path.join(test_data_prefix, f), builtins_wrapper( test_transform, os.path.join(test_data_prefix, ICODE_GEN_BUILTINS)), test_temp_dir, True) return c
def cases(cls) -> List[DataDrivenTestCase]: if sys.platform == 'win32': return [] # Nothing here works on Windows. c = [] # type: List[DataDrivenTestCase] for f in files: tc = parse_test_cases(os.path.join(test_data_prefix, f), None, test_temp_dir, True) c += [ case for case in tc if cls.has_stable_flags(case) and cls.is_incremental(case) ] return c
def cases(cls) -> List[DataDrivenTestCase]: c = [] # type: List[DataDrivenTestCase] for f in semanal_symtable_files: c += parse_test_cases(os.path.join(test_data_prefix, f), None, test_temp_dir) return c
def cases(cls) -> List[DataDrivenTestCase]: c = [] # type: List[DataDrivenTestCase] for f in cls.files: c += parse_test_cases(os.path.join(config.test_data_prefix, f), None, config.test_temp_dir) return c
def cases(self): c = [] for f in semanal_symtable_files: c += parse_test_cases(os.path.join(test_data_prefix, f), self.run_test, test_temp_dir) return c
def cases(self): c = [] for f in output_files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_output, test_temp_dir, True) return c
def cases(self): c = [] for f in python_eval_files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_python_evaluation, test_temp_dir, True) return c
def cases(self): c = [] for f in self.transform_files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_transform, test_temp_dir) return c
def cases(self) -> List[DataDrivenTestCase]: c = [] # type: List[DataDrivenTestCase] for path in self.test_data_files: c += parse_test_cases(os.path.join(config.test_data_prefix, path), test_stubgen) return c
def cases(self) -> List[DataDrivenTestCase]: c = [] # type: List[DataDrivenTestCase] for f in cmdline_files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_python_evaluation, test_temp_dir, True) return c
def cases(self): c = [] for path in self.test_data_files: c += parse_test_cases(os.path.join(config.test_data_prefix, path), test_stubgen) return c
def cases(self): # Test case descriptions are in an external file. return parse_test_cases(os.path.join(config.test_data_prefix, 'parse-errors.test'), test_parse_error)
def cases(self): c = [] for f in self.files: c += parse_test_cases(os.path.join(config.test_data_prefix, f), self.run_test, config.test_temp_dir) return c
def cases(self): c = [] for f in semanal_files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_semanal, test_temp_dir) return c
def cases(self) -> List[DataDrivenTestCase]: c = [] # type: List[DataDrivenTestCase] for f in files: c += parse_test_cases(os.path.join(test_data_prefix, f), self.run_test, test_temp_dir, True) return c
def cases(cls) -> List[DataDrivenTestCase]: # Test case descriptions are in an external file. return parse_test_cases( os.path.join(config.test_data_prefix, 'parse-errors.test'), test_parse_error)
def cases(self): c = [] for f in files: c += parse_test_cases(os.path.join(test_data_prefix, f), self.run_test, test_temp_dir, True) return c
def cases(self): c = [] for f in self.files: c += parse_test_cases(os.path.join(test_data_prefix, f), test_cgen_compile, test_temp_dir, True) return c