[pypy-svn] r8796 - pypy/dist/lib-python-2.3.4/test
ac at codespeak.net
ac at codespeak.net
Wed Feb 2 11:50:23 CET 2005
Author: ac
Date: Wed Feb 2 11:50:23 2005
New Revision: 8796
Modified:
pypy/dist/lib-python-2.3.4/test/pypy_unittest.py
Log:
Fix typo
Modified: pypy/dist/lib-python-2.3.4/test/pypy_unittest.py
==============================================================================
--- pypy/dist/lib-python-2.3.4/test/pypy_unittest.py (original)
+++ pypy/dist/lib-python-2.3.4/test/pypy_unittest.py Wed Feb 2 11:50:23 2005
@@ -42,12 +42,12 @@
def assertRaises(self, exc, call, *args, **kwargs):
raises(exc, call, *args, **kwargs)
- def assertAlmostEqual(self, x, y, places07, msg=None):
+ def assertAlmostEqual(self, x, y, places=7, msg=None):
if msg is None:
msg = '%r != %r within %r places' %(x, y, places)
assert round(y-x, places) == 0, msg
- def assertNotAlmostEqual(self, x, y, places07, msg=None):
+ def assertNotAlmostEqual(self, x, y, places=7, msg=None):
if msg is None:
msg = '%r == %r within %r places' %(x, y, places)
assert round(y-x, places) != 0, msg
More information about the Pypy-commit
mailing list