/dports/devel/py-numba/numba-0.51.2/numba/tests/ |
H A D | test_complex.py | 15 no_pyobj_flags = Flags() variable 89 self.test_real(flags=no_pyobj_flags) 100 self.test_imag(flags=no_pyobj_flags) 111 self.test_conjugate(flags=no_pyobj_flags) 124 self.test_div(flags=no_pyobj_flags) 152 self.check_unary_func(phase_usecase, no_pyobj_flags) 170 self.test_rect(flags=no_pyobj_flags) 207 self.check_unary_func(log_usecase, no_pyobj_flags) 217 self.test_log_base(flags=no_pyobj_flags) 229 self.check_unary_func(sqrt_usecase, no_pyobj_flags) [all …]
|
H A D | test_unpack_sequence.py | 15 no_pyobj_flags = Flags() variable 16 no_pyobj_flags.set("nrt") 126 self.test_unpack_shape(flags=no_pyobj_flags) 132 self.test_unpack_range(flags=no_pyobj_flags) 138 self.test_unpack_tuple(flags=no_pyobj_flags) 144 self.test_unpack_heterogeneous_tuple(flags=no_pyobj_flags) 161 self.test_chained_unpack_assign(flags=no_pyobj_flags) 177 no_pyobj_flags, errors.TypingError) 212 self.check_conditional_swap(no_pyobj_flags) 219 flags=no_pyobj_flags) [all …]
|
H A D | test_ufuncs.py | 32 no_pyobj_flags = Flags() variable 33 no_pyobj_flags.set("no_rewrites") 1256 _compile_flags = no_pyobj_flags 1450 _compile_flags = no_pyobj_flags 1467 _compile_flags = no_pyobj_flags 1476 _compile_flags = no_pyobj_flags 1495 _compile_flags = no_pyobj_flags 1514 _compile_flags = no_pyobj_flags 1537 _compile_flags = no_pyobj_flags 1571 _compile_flags = no_pyobj_flags [all …]
|
H A D | test_mathlib.py | 18 no_pyobj_flags = Flags() variable 225 self.test_sin(flags=no_pyobj_flags) 238 self.test_cos(flags=no_pyobj_flags) 249 self.test_tan(flags=no_pyobj_flags) 260 self.test_sqrt(flags=no_pyobj_flags) 285 self.test_exp(flags=no_pyobj_flags) 307 self.test_log(flags=no_pyobj_flags) 340 self.test_asin(flags=no_pyobj_flags) 351 self.test_acos(flags=no_pyobj_flags) 362 self.test_atan(flags=no_pyobj_flags) [all …]
|
H A D | test_builtins.py | 21 no_pyobj_flags = Flags() variable 251 self.test_abs(flags=no_pyobj_flags) 265 self.test_all(flags=no_pyobj_flags) 279 self.test_any(flags=no_pyobj_flags) 298 self.test_bool(flags=no_pyobj_flags) 634 self.test_max_1(flags=no_pyobj_flags) 637 self.test_min_1(flags=no_pyobj_flags) 693 self.test_max_3(flags=no_pyobj_flags) 696 self.test_min_3(flags=no_pyobj_flags) 870 self.test_zip(flags=no_pyobj_flags) [all …]
|
H A D | test_exceptions.py | 14 no_pyobj_flags = Flags() variable 128 assert exec_mode in (force_pyobj_flags, no_pyobj_flags) 143 if exec_mode is no_pyobj_flags: 174 self.check_raise_class(flags=no_pyobj_flags) 196 self.check_raise_instance(flags=no_pyobj_flags) 217 self.check_raise_nested(no_pyobj_flags, nopython=True) 246 self.check_reraise(flags=no_pyobj_flags) 267 self.check_raise_invalid_class(1, flags=no_pyobj_flags) 291 self.check_assert_statement(flags=no_pyobj_flags) 311 self.check_raise_from_exec_string(flags=no_pyobj_flags) [all …]
|
H A D | test_iteration.py | 16 no_pyobj_flags = Flags() variable 99 self.test_int_tuple_iter(flags=no_pyobj_flags) 108 self.test_float_tuple_iter(flags=no_pyobj_flags) 114 self.test_tuple_tuple_iter(flags=no_pyobj_flags) 120 self.test_enumerate_nested_tuple(flags=no_pyobj_flags) 126 self.test_nested_enumerate(flags=no_pyobj_flags) 148 self.test_array_1d_float(no_pyobj_flags) 154 self.test_array_1d_complex(no_pyobj_flags) 170 self.test_array_1d_record(no_pyobj_flags) 172 def test_array_1d_record_mutate_npm(self, flags=no_pyobj_flags):
|
H A D | test_python_int.py | 9 no_pyobj_flags = Flags() variable 32 self.test_int_return_type(flags=no_pyobj_flags) 38 self.test_unsigned_int_return_type(flags=no_pyobj_flags) 46 self.test_long_int_return_type(flags=no_pyobj_flags)
|
H A D | test_return_values.py | 16 no_pyobj_flags = Flags() variable 44 self.test_nopython_func(flags=no_pyobj_flags) 59 self.test_pyobj_func(flags=no_pyobj_flags) 74 self.test_module_func(flags=no_pyobj_flags)
|
H A D | test_flow_control.py | 16 no_pyobj_flags = Flags() variable 17 no_pyobj_flags.set("nrt") 252 self.test_for_loop1(flags=no_pyobj_flags) 259 self.test_for_loop2(flags=no_pyobj_flags) 269 self.test_for_loop3(flags=no_pyobj_flags) 275 self.test_for_loop4(flags=no_pyobj_flags) 281 self.test_for_loop5(flags=no_pyobj_flags) 347 self.test_ifelse1(flags=no_pyobj_flags) 353 self.test_ifelse2(flags=no_pyobj_flags) 359 self.test_ifelse3(flags=no_pyobj_flags) [all …]
|
H A D | test_generators.py | 19 no_pyobj_flags = Flags() variable 143 def check_gen1(self, flags=no_pyobj_flags): 156 def check_gen2(self, flags=no_pyobj_flags): 169 def check_gen3(self, flags=no_pyobj_flags): 182 def check_gen4(self, flags=no_pyobj_flags): 208 def check_gen6(self, flags=no_pyobj_flags): 223 def check_gen7(self, flags=no_pyobj_flags): 257 def check_gen9(self, flags=no_pyobj_flags): 265 self.check_gen9(flags=no_pyobj_flags) 289 def check_ndindex(self, flags=no_pyobj_flags): [all …]
|
H A D | test_dataflow.py | 16 no_pyobj_flags = Flags() variable 127 flags=no_pyobj_flags) 166 self.test_chained_compare(no_pyobj_flags) 178 self.test_stack_effect_error(no_pyobj_flags) 188 self.test_var_swapping(no_pyobj_flags) 199 self.test_for_break(no_pyobj_flags)
|
H A D | test_nan.py | 8 no_pyobj_flags = Flags() variable 36 self.test_nans(flags=no_pyobj_flags)
|
H A D | test_array_manipulation.py | 17 no_pyobj_flags = Flags() variable 18 no_pyobj_flags.set('nrt') 512 self.test_flatten_array(flags=no_pyobj_flags) 513 self.test_flatten_array(flags=no_pyobj_flags, layout='F') 514 self.test_flatten_array(flags=no_pyobj_flags, layout='A') 564 self.test_ravel_array(flags=no_pyobj_flags) 567 self.test_ravel_array_size(flags=no_pyobj_flags) 585 self.test_transpose_array(flags=no_pyobj_flags) 601 self.test_squeeze_array(flags=no_pyobj_flags) 619 self.test_add_axis2(flags=no_pyobj_flags) [all …]
|
H A D | test_cffi.py | 17 no_pyobj_flags = Flags() variable 49 cres = compile_isolated(pyfunc, (), flags=no_pyobj_flags) 55 self._test_function(mod.use_cffi_sin, flags=no_pyobj_flags) 61 self._test_function(mod.use_cffi_sin_ool, flags=no_pyobj_flags)
|
H A D | test_unicode.py | 421 def test_literal(self, flags=no_pyobj_flags): 431 def test_eq(self, flags=no_pyobj_flags): 470 def test_lt(self, flags=no_pyobj_flags): 473 def test_le(self, flags=no_pyobj_flags): 476 def test_gt(self, flags=no_pyobj_flags): 479 def test_ge(self, flags=no_pyobj_flags): 482 def test_len(self, flags=no_pyobj_flags): 488 def test_bool(self, flags=no_pyobj_flags): 540 def test_endswith(self, flags=no_pyobj_flags): 658 def test_in(self, flags=no_pyobj_flags): [all …]
|
H A D | test_objects.py | 18 no_pyobj_flags = Flags() variable
|
H A D | test_heapq.py | 10 no_pyobj_flags = Flags() variable 11 no_pyobj_flags.set("nrt")
|
H A D | test_obj_lifetime.py | 18 no_pyobj_flags = Flags() variable
|
H A D | support.py | 47 no_pyobj_flags = Flags() variable
|
H A D | test_np_functions.py | 24 no_pyobj_flags = Flags() variable 25 no_pyobj_flags.set("nrt") 330 def run_unary(self, pyfunc, x_types, x_values, flags=no_pyobj_flags, 435 def test_angle(self, flags=no_pyobj_flags):
|