def makeTerminal(testCase):
    leader, follower = pty.openpty()
    testCase.addCleanup(os.close, leader)
    testCase.addCleanup(os.close, follower)
    return leader, follower
Train using an HDF5 dataset with all data loaded into memory.
dataset/ETHPy150Open twisted/imaginary/imaginary/test/test_runner.py/makeTerminal--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/datasets/tests/test_hdf5.py/test_hdf5_load_all