summaryrefslogtreecommitdiff
path: root/Lib/test/test_profilehooks.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-03-19 18:34:55 +0000
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-03-19 18:34:55 +0000
commitbc27c6a5aa75a8f52304ecd311fbadef4ec621ce (patch)
tree5634ee9187192196c6e565e491144e2574c436ef /Lib/test/test_profilehooks.py
parent4854c969fb6f42b3d67e14977bc3f0f6f3ec70c9 (diff)
downloadcpython-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.py2
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):