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):