Skip to content

Commit

Permalink
Merge pull request #7024 from asi1024/flaky-absolute
Browse files Browse the repository at this point in the history
Fix flaky `chainerx.abs` test
  • Loading branch information
hvy committed May 8, 2019
2 parents 6c1da6b + 4dab280 commit e392131
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/chainerx_tests/unit_tests/routines_tests/test_math.py
Original file line number Diff line number Diff line change
Expand Up @@ -2461,6 +2461,8 @@ def func(self, xp, a):
))
class TestAbs(UnaryMathTestBase, op_utils.NumpyOpTest):

dodge_nondifferentiable = True

def func(self, xp, a):
assert chainerx.abs is chainerx.absolute
return xp.abs(a)
Expand Down

0 comments on commit e392131

Please sign in to comment.