diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-12-12 21:00:32 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:18:34 -0300 |
commit | 016a34e8eb8d5be5ddd27d49ab141c59359beea7 (patch) | |
tree | 9d6a1bc6cbc447efaa00779ae3556d6b938e8806 /tests/samplebinding | |
parent | bebb9009a1f400fae548ba2a6e0553fc2643c6e2 (diff) |
Removed commented section of test file.
Diffstat (limited to 'tests/samplebinding')
-rw-r--r-- | tests/samplebinding/deprecated_test.py | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/tests/samplebinding/deprecated_test.py b/tests/samplebinding/deprecated_test.py index f9607d0db..e9fc50587 100644 --- a/tests/samplebinding/deprecated_test.py +++ b/tests/samplebinding/deprecated_test.py @@ -30,20 +30,10 @@ import unittest from sample import ObjectType class TestDeprecatedCall(unittest.TestCase): - """ - def setUp(self): - warnings.simplefilter("default") - - def testCallWithoutError(self): - o = ObjectType() - self.assertTrue(o.deprecatedFunction()) - """ - def testCallWithError(self): o = ObjectType() - warnings.simplefilter("error") + warnings.simplefilter('error') self.assertRaises(DeprecationWarning, o.deprecatedFunction) if __name__ == '__main__': unittest.main() - |