Exemplo n.º 1
0
    def test_Wd_depreciation(self):
        with self.assertWarns(DeprecationWarning):
            print(self.dmis.Wd)

        with self.assertWarns(DeprecationWarning):
            self.dmis.Wd = utils.Identity()
Exemplo n.º 2
0
    def test_Wd_depreciation(self):
        with self.assertRaises(NotImplementedError):
            print(self.dmis.Wd)

        with self.assertRaises(NotImplementedError):
            self.dmis.Wd = utils.Identity()
Exemplo n.º 3
0
    def test_Wd_depreciation(self):
        with self.assertWarns(FutureWarning):
            self.dmis.Wd

        with self.assertWarns(FutureWarning):
            self.dmis.Wd = Utils.Identity()