@skipif(sys.modules not in 'pylearn2', 'this test requires pylearn2')
    def test_pylearn2_dataset_loader(self):
        yaml_string = """
!obj:pylearn2.testing.datasets.random_dense_design_matrix {
  rng: !obj:numpy.random.RandomState { seed: 1 },
  num_examples: 10,
  dim: 5,
  num_classes: 3,
}
"""
        dataset_loader = Pylearn2DatasetLoader(yaml_string, one_hot=False)
        X, y = dataset_loader.load()
        assert X.shape == (10, 5)
        assert y.shape == (10,)
        assert np.unique(y).size == 3
dataset/ETHPy150Open msmbuilder/osprey/osprey/plugins/tests/test_plugin_pylearn2.py/TestPluginPylearn2.test_pylearn2_dataset_loader/swapped operands of `not in`