commit | bc27c6a5aa75a8f52304ecd311fbadef4ec621ce | [log] [tgz] |
---|---|---|
author | Florent Xicluna <florent.xicluna@gmail.com> | Fri Mar 19 18:34:55 2010 +0000 |
committer | Florent Xicluna <florent.xicluna@gmail.com> | Fri Mar 19 18:34:55 2010 +0000 |
tree | 5634ee9187192196c6e565e491144e2574c436ef | |
parent | 4854c969fb6f42b3d67e14977bc3f0f6f3ec70c9 [diff] [blame] |
Various tests cleanup: check_warnings/check_py3k_warnings, unittest.assert* and setUp/tearDown.
diff --git a/Lib/test/test_profilehooks.py b/Lib/test/test_profilehooks.py index 3e02830..4083d11 100644 --- a/Lib/test/test_profilehooks.py +++ b/Lib/test/test_profilehooks.py
@@ -12,7 +12,7 @@ sys.setprofile(None) def test_empty(self): - assert sys.getprofile() == None + assert sys.getprofile() is None def test_setget(self): def fn(*args):