[pypy-svn] r16793 - pypy/dist/pypy/module/_sre/test

nik at codespeak.net nik at codespeak.net
Sat Aug 27 17:52:45 CEST 2005


Author: nik
Date: Sat Aug 27 17:52:44 2005
New Revision: 16793

Modified:
   pypy/dist/pypy/module/_sre/test/test_interp_sre.py
Log:
fixed a test which failed because of changed interface of getlower


Modified: pypy/dist/pypy/module/_sre/test/test_interp_sre.py
==============================================================================
--- pypy/dist/pypy/module/_sre/test/test_interp_sre.py	(original)
+++ pypy/dist/pypy/module/_sre/test/test_interp_sre.py	Sat Aug 27 17:52:44 2005
@@ -77,7 +77,7 @@
         assert not isre.at_boundary(space, create_context(space, string, pos, end))
 
 def test_getlower(space):
-    assert space.int_w(isre.getlower(space, space.wrap(ord("A")), space.wrap(0))) == ord("a")
+    assert isre.getlower(space, ord("A"), 0) == ord("a")
 
 def test_get_byte_array(space):
     if sys.byteorder == "big":



More information about the Pypy-commit mailing list