diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2010-03-19 18:34:55 +0000 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2010-03-19 18:34:55 +0000 |
commit | bc27c6a5aa75a8f52304ecd311fbadef4ec621ce (patch) | |
tree | 5634ee9187192196c6e565e491144e2574c436ef /Lib/test/test_profilehooks.py | |
parent | 4854c969fb6f42b3d67e14977bc3f0f6f3ec70c9 (diff) | |
download | cpython-git-bc27c6a5aa75a8f52304ecd311fbadef4ec621ce.tar.gz |
Various tests cleanup: check_warnings/check_py3k_warnings, unittest.assert* and setUp/tearDown.
Diffstat (limited to 'Lib/test/test_profilehooks.py')
-rw-r--r-- | Lib/test/test_profilehooks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_profilehooks.py b/Lib/test/test_profilehooks.py index 3e02830ef6..4083d112df 100644 --- a/Lib/test/test_profilehooks.py +++ b/Lib/test/test_profilehooks.py @@ -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): |