[Python-checkins] r85713 - python/branches/pep-382/Lib/test/test_pep382.py

eric.smith python-checkins at python.org
Tue Oct 19 02:59:39 CEST 2010


Author: eric.smith
Date: Tue Oct 19 02:59:39 2010
New Revision: 85713
Log:
assertEquals -> assertEqual
Modified:
 python/branches/pep-382/Lib/test/test_pep382.py
Modified: python/branches/pep-382/Lib/test/test_pep382.py
==============================================================================
--- python/branches/pep-382/Lib/test/test_pep382.py	(original)
+++ python/branches/pep-382/Lib/test/test_pep382.py	Tue Oct 19 02:59:39 2010
@@ -64,7 +64,7 @@
 self.assertTrue(pep382test.d2.imported)
 self.assertTrue(pep382test.d3.imported)
 self.assertTrue(pep382test.d4.imported)
- self.assertEquals(pep382test.D3, "d3")
+ self.assertEqual(pep382test.D3, "d3")
 self.assertIn("/does/not/exist", pep382test.__path__)
 self.assertIn("/does/not/exist/either", pep382test.__path__)
 
@@ -97,7 +97,7 @@
 else:
 self.fail("Found d1 unexpectedly")
 self.assertTrue(pep382test.d3.imported)
- self.assertEquals(pep382test.D3, "d3")
+ self.assertEqual(pep382test.D3, "d3")
 
 
 class PthFilesystemTests(PthTestsBase):


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /