[Python-checkins] r80124 - python/trunk/Lib/test/test_bytes.py

benjamin.peterson python-checkins at python.org
Sat Apr 17 00:25:57 CEST 2010


Author: benjamin.peterson
Date: Sat Apr 17 00:25:57 2010
New Revision: 80124

Log:
fix typo

Modified:
   python/trunk/Lib/test/test_bytes.py

Modified: python/trunk/Lib/test/test_bytes.py
==============================================================================
--- python/trunk/Lib/test/test_bytes.py	(original)
+++ python/trunk/Lib/test/test_bytes.py	Sat Apr 17 00:25:57 2010
@@ -68,7 +68,7 @@
     def test_from_ssize(self):
         self.assertEqual(self.type2test(0), b'')
         self.assertEqual(self.type2test(1), b'\x00')
-        self.assertEqual(self.test2test(5), b'\x00\x00\x00\x00\x00')
+        self.assertEqual(self.type2test(5), b'\x00\x00\x00\x00\x00')
         self.assertRaises(ValueError, self.type2test, -1)
 
         self.assertEqual(self.type2test('0', 'ascii'), b'0')


More information about the Python-checkins mailing list