Merged revisions 77071 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77071 | mark.dickinson | 2009-12-27 21:31:50 +0000 (Sun, 27 Dec 2009) | 1 line

  Use a more idiomatic check in check_truediv.
........
diff --git a/Lib/test/test_long.py b/Lib/test/test_long.py
index 4096f1f..9974a5f 100644
--- a/Lib/test/test_long.py
+++ b/Lib/test/test_long.py
@@ -679,9 +679,8 @@
         except ZeroDivisionError:
             got = 'zerodivision'
 
-        if expected != got:
-            self.fail("Incorrectly rounded division {}/{}: expected {!r}, "
-                      "got {!r}.".format(a, b, expected, got))
+        self.assertEqual(expected, got, "Incorrectly rounded division {}/{}: "
+                         "expected {}, got {}".format(a, b, expected, got))
 
     @requires_IEEE_754
     def test_correctly_rounded_true_division(self):