[pypy-svn] pypy fast-forward: Fix this test.
alex_gaynor
commits-noreply at bitbucket.org
Sun Jan 9 22:55:13 CET 2011
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: fast-forward
Changeset: r40541:e7a975c28d4d
Date: 2011-01-09 15:54 -0600
http://bitbucket.org/pypy/pypy/changeset/e7a975c28d4d/
Log: Fix this test.
diff --git a/pypy/interpreter/test/test_buffer.py b/pypy/interpreter/test/test_buffer.py
--- a/pypy/interpreter/test/test_buffer.py
+++ b/pypy/interpreter/test/test_buffer.py
@@ -14,7 +14,7 @@
assert isinstance(buf, Buffer)
assert buf.getlength() == 11
assert buf.as_str() == 'hello world'
- assert buf.getslice(1, 6) == 'ello '
+ assert buf.getslice(1, 6, 1, 5) == 'ello '
assert space.buffer_w(space.wrap(buf)) is buf
assert space.bufferstr_w(w_hello) == 'hello world'
assert space.bufferstr_w(space.buffer(w_hello)) == 'hello world'
More information about the Pypy-commit
mailing list