Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(752)

Unified Diff: Lib/distutils/tests/test_install_headers.py

Issue 3232042: #9424: convert deprecated assert methods in the Python test suite Base URL: http://svn.python.org/projects/python/branches/py3k/
Patch Set: Minor cleanups Created 13 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/distutils/tests/test_install_data.py ('k') | Lib/distutils/tests/test_install_lib.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Lib/distutils/tests/test_install_headers.py
===================================================================
--- Lib/distutils/tests/test_install_headers.py (revision 86567)
+++ Lib/distutils/tests/test_install_headers.py (working copy)
@@ -24,7 +24,7 @@
pkg_dir, dist = self.create_dist(headers=headers)
cmd = install_headers(dist)
- self.assertEquals(cmd.get_inputs(), headers)
+ self.assertEqual(cmd.get_inputs(), headers)
# let's run the command
cmd.install_dir = os.path.join(pkg_dir, 'inst')
@@ -32,7 +32,7 @@
cmd.run()
# let's check the results
- self.assertEquals(len(cmd.get_outputs()), 2)
+ self.assertEqual(len(cmd.get_outputs()), 2)
def test_suite():
return unittest.makeSuite(InstallHeadersTestCase)
« no previous file with comments | « Lib/distutils/tests/test_install_data.py ('k') | Lib/distutils/tests/test_install_lib.py » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b