Update the code to better reflect recommended style:

Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
diff --git a/Lib/test/test_math.py b/Lib/test/test_math.py
index 888d277..8419a1f 100644
--- a/Lib/test/test_math.py
+++ b/Lib/test/test_math.py
@@ -85,7 +85,7 @@
 
 print 'frexp'
 def testfrexp(name, (mant, exp), (emant, eexp)):
-    if abs(mant-emant) > eps or exp <> eexp:
+    if abs(mant-emant) > eps or exp != eexp:
         raise TestFailed, '%s returned %s, expected %s'%\
               (name, `mant, exp`, `emant,eexp`)