Various tests cleanup: check_warnings/check_py3k_warnings, unittest.assert* and setUp/tearDown.

This commit is contained in:
Florent Xicluna 2010-03-19 18:34:55 +00:00
parent 4854c969fb
commit bc27c6a5aa
10 changed files with 89 additions and 91 deletions

View file

@ -12,7 +12,7 @@ class TestGetProfile(unittest.TestCase):
sys.setprofile(None)
def test_empty(self):
assert sys.getprofile() == None
assert sys.getprofile() is None
def test_setget(self):
def fn(*args):