Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix python style error
Browse files Browse the repository at this point in the history
  • Loading branch information
cassiniXu authored and cassiniXu committed Nov 21, 2019
1 parent c9a136e commit 73fa4d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion tests/python/unittest/test_numpy_interoperability.py
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,6 @@ def get_mat(n):
OpArgMngr.add_workload('diagflat', vals_f, k=-2)



def _add_workload_shape():
OpArgMngr.add_workload('shape', np.random.uniform(size=()))
OpArgMngr.add_workload('shape', np.random.uniform(size=(0, 1)))
Expand Down
1 change: 1 addition & 0 deletions tests/python/unittest/test_numpy_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -4164,6 +4164,7 @@ def dbg(name, data):
for (iop, op) in enumerate(grad[0]):
assert_almost_equal(grad[0][iop], grad[1][iop], rtol=rtol, atol=atol)


@with_seed()
@use_np
def test_np_diagflat():
Expand Down

0 comments on commit 73fa4d4

Please sign in to comment.