Skip to content

Commit

Permalink
unskip test
Browse files Browse the repository at this point in the history
  • Loading branch information
mganahl committed Aug 8, 2020
1 parent 697f2c7 commit 40e1568
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tensornetwork/backends/jax/jax_backend_test.py
Expand Up @@ -103,7 +103,6 @@ def test_convert_to_tensor():
assert isinstance(actual, type(expected))
np.testing.assert_allclose(expected, actual)


def test_outer_product():
backend = jax_backend.JaxBackend()
a = backend.convert_to_tensor(2 * np.ones((2, 1)))
Expand All @@ -123,10 +122,9 @@ def test_einsum():
np.testing.assert_allclose(expected, actual)


@pytest.mark.skip(reason="TODO(chaseriley): Add type checking.")
def test_convert_bad_test():
backend = jax_backend.JaxBackend()
with pytest.raises(TypeError):
with pytest.raises(TypeError, match="Expected"):
backend.convert_to_tensor(tf.ones((2, 2)))


Expand Down

0 comments on commit 40e1568

Please sign in to comment.