<filename>pandas_ml/skaccessors/test/test_kernel_ridge.py
#!/usr/bin/env python

import sklearn.kernel_ridge as kr

import pandas_ml as pdml
import pandas_ml.util.testing as tm


class TestKernelRidge(tm.TestCase):

    def test_objectmapper(self):
        df = pdml.ModelFrame([])
        self.assertIs(df.kernel_ridge.KernelRidge, kr.KernelRidge)


if __name__ == '__main__':
    import nose
    nose.runmodule(argv=[__file__, '-vvs', '-x', '--pdb', '--pdb-failure'],
                   exit=False)

<filename>pandas_ml/skaccessors/test/test_kernel_ridge.py
#!/usr/bin/env python

import sklearn.kernel_ridge as kr

import pandas_ml as pdml
import pandas_ml.util.testing as tm


class TestKernelRidge(tm.TestCase):

    def test_objectmapper(self):
        df = pdml.ModelFrame([])
        self.assertIs(df.kernel_ridge.KernelRidge, kr.KernelRidge)


if __name__ == '__main__':
    import nose
    nose.runmodule(argv=[__file__, '-vvs', '-x', '--pdb', '--pdb-failure'],
                   exit=False)

#!/usr/bin/env python