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_bsddb.py b/Lib/test/test_bsddb.py
index aa65295..b59a4e0 100755
--- a/Lib/test/test_bsddb.py
+++ b/Lib/test/test_bsddb.py
@@ -34,8 +34,8 @@
             try:
                 rec = f.next()
             except KeyError:
-                if rec <> f.last():
-                    print 'Error, last <> last!'
+                if rec != f.last():
+                    print 'Error, last != last!'
                 f.previous()
                 break
             if verbose: