[pypy-svn] pypy shorter-float-repr: Fix SyntaxError

amauryfa commits-noreply at bitbucket.org
Fri Jan 21 14:42:39 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: shorter-float-repr
Changeset: r41129:59e96c0fb2f3
Date: 2011-01-21 14:36 +0100
http://bitbucket.org/pypy/pypy/changeset/59e96c0fb2f3/

Log:	Fix SyntaxError

diff --git a/pypy/rlib/test/test_rarithmetic.py b/pypy/rlib/test/test_rarithmetic.py
--- a/pypy/rlib/test/test_rarithmetic.py
+++ b/pypy/rlib/test/test_rarithmetic.py
@@ -391,7 +391,7 @@
 
 class TestOOtype(BaseTestRarithmetic, OORtypeMixin):
     def test_formatd_repr(self):
-        sys.version_info < (2, 7):
+        if sys.version_info < (2, 7):
             skip('cannot oofake short float repr before python 2.7')
 
 def test_isinf():


More information about the Pypy-commit mailing list