Skip to content

Commit c6909a2

Browse files
committed
Fix parameter ordering in test_uniform_samples
1 parent 9dda25f commit c6909a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/tensor/random/test_basic.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def test_fn(*args, random_state=None, **kwargs):
141141

142142

143143
@pytest.mark.parametrize(
144-
"u, l, size",
144+
"l, u, size",
145145
[
146146
(np.array(10, dtype=config.floatX), np.array(20, dtype=config.floatX), None),
147147
(np.array(10, dtype=config.floatX), np.array(20, dtype=config.floatX), []),
@@ -152,8 +152,8 @@ def test_fn(*args, random_state=None, **kwargs):
152152
),
153153
],
154154
)
155-
def test_uniform_samples(u, l, size):
156-
compare_sample_values(uniform, u, l, size=size)
155+
def test_uniform_samples(l, u, size):
156+
compare_sample_values(uniform, l, u, size=size)
157157

158158

159159
def test_uniform_default_args():

0 commit comments

Comments
 (0)