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

Unified Diff: Lib/test/test_posix.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/test/test_platform.py ('k') | Lib/test/test_pow.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Lib/test/test_posix.py
===================================================================
--- Lib/test/test_posix.py (revision 86567)
+++ Lib/test/test_posix.py (working copy)
@@ -105,7 +105,7 @@
try:
posix.initgroups(name, 13)
except OSError as e:
- self.assertEquals(e.errno, errno.EPERM)
+ self.assertEqual(e.errno, errno.EPERM)
else:
self.fail("Expected OSError to be raised by initgroups")
« no previous file with comments | « Lib/test/test_platform.py ('k') | Lib/test/test_pow.py » ('j') | no next file with comments »

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