Commit 2a2bc9ce authored by Davis King's avatar Davis King

Different versions of python disagree on what exception gets thrown. So just

check for any exception.
parent 99b0f687
......@@ -21,7 +21,7 @@ def test_array_init_with_number():
def test_array_init_with_negative_number():
with raises(MemoryError):
with raises(Exception):
array(-5)
......
......@@ -78,7 +78,7 @@ def test_vector_invalid_getitem():
def test_vector_init_with_negative_number():
with raises(MemoryError):
with raises(Exception):
vector(-3)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment