Skip to content

Commit 22026a3

Browse files
committed
UP my solution
1 parent 392dbda commit 22026a3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test_numpy_questions.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
from numpy_questions import wallis_product, max_index
1111

12-
13-
1412
def test_max_index():
1513
X = np.array([[0, 1], [2, 0]])
1614
assert max_index(X) == (1, 0)
@@ -31,7 +29,7 @@ def test_max_index():
3129

3230
def test_wallis_product():
3331
pi_approx = wallis_product(0)
34-
assert pi_approx == 2.
32+
assert pi_approx == 1.
3533

3634
pi_approx = wallis_product(1)
3735
assert pi_approx == 8 / 3

0 commit comments

Comments
 (0)