Skip to content

Commit bcdc48f

Browse files
committed
Update random_tests/test_distributions.py
Resolve failure on Windows in hypergeometric distribution Allow fallback on NumPy in a test for randint Make a valid numpy version string Move updated tests under dpnp folder following new structure
1 parent abef8a8 commit bcdc48f

14 files changed

+370
-468
lines changed

tests/third_party/cupy/random_tests/common_distributions.py renamed to dpnp/tests/third_party/cupy/random_tests/common_distributions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
import numpy
55

66
import dpnp as cupy
7-
from tests.third_party.cupy import testing
8-
from tests.third_party.cupy.testing import _condition
7+
from dpnp.tests.third_party.cupy import testing
8+
from dpnp.tests.third_party.cupy.testing import _condition
99

1010

1111
def two_sample_Kolmogorov_Smirnov_test(observed1, observed2):

tests/third_party/cupy/random_tests/test_bit_generator.py renamed to dpnp/tests/third_party/cupy/random_tests/test_bit_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import dpnp as cupy
77
from dpnp import random
8-
from tests.third_party.cupy import testing
8+
from dpnp.tests.third_party.cupy import testing
99

1010
pytest.skip("bit generator is not supported yet", allow_module_level=True)
1111

0 commit comments

Comments
 (0)