From 2cfda806f8a2ae1ccf6b05790a7baaae91262080 Mon Sep 17 00:00:00 2001
From: Mark Dickinson <dickinsm@gmail.com>
Date: Sun, 27 Dec 2009 21:34:05 +0000
Subject: [PATCH] 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.
........
---
 Lib/test/test_long.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Lib/test/test_long.py b/Lib/test/test_long.py
index 4096f1fadb0..9974a5fa9f8 100644
--- a/Lib/test/test_long.py
+++ b/Lib/test/test_long.py
@@ -679,9 +679,8 @@ class LongTest(unittest.TestCase):
         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):
-- 
2.30.9