Patch by Christian Heimes to change self.assert_(x == y) into
self.assertEqual(x, y). (Christian used self.failUnlessEqual(),
but the double negative makes it hard to grok, so I changed it.)
diff --git a/Lib/test/test_bytes.py b/Lib/test/test_bytes.py
index a48cf9c..ca22ef1 100644
--- a/Lib/test/test_bytes.py
+++ b/Lib/test/test_bytes.py
@@ -84,7 +84,7 @@
b2 = bytes([1, 2, 3])
b3 = bytes([1, 3])
- self.failUnless(b1 == b2)
+ self.assertEqual(b1, b2)
self.failUnless(b2 != b3)
self.failUnless(b1 <= b2)
self.failUnless(b1 <= b3)