cupy.testing.for_orders¶
-
cupy.testing.
for_orders
(orders, name='order')[source]¶ Decorator to parameterize tests with order.
Parameters: - orders (list of orders) – orders to be tested.
- name (str) – Argument name to which the specified order is passed.
This decorator adds a keyword argument specified by
name
to the test fixtures. Then, the fixtures run by passing each element oforders
to the named argument.