def run_module(name, file):

    if name == '__main__':

        nose.runmodule(argv=[file, '-vvs', '-x', '--pdb', '--pdb-failure'],
                       exit=False)
Run current test cases of the file.
dataset/ETHPy150Open pfnet/chainer/chainer/testing/__init__.py/run_module