import unittest

from chainer import testing


class Dummy(object):
    pass


class TestNoNumpyFunction(unittest.TestCase):

    def test_no_numpy_function(self):
        with self.assertRaises(ValueError):
            testing.unary_math_function_unittest(Dummy())  # no numpy.dummy


testing.run_module(__name__, __file__)

import unittest

from chainer import testing


def dummy():
    pass


class TestNoNumpyFunction(unittest.TestCase):

    def test_no_numpy_function(self):
        with self.assertRaises(ValueError):
            testing.unary_math_function_unittest(dummy)  # no numpy.dummy


testing.run_module(__name__, __file__)

Fix test of math function testing helper.
Fix test of math function testing helper.
