[pypy-commit] cffi default: typo

arigo noreply at buildbot.pypy.org
Fri Dec 19 16:42:48 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r1594:992bdcd2ed2c
Date: 2014-12-19 16:43 +0100
http://bitbucket.org/cffi/cffi/changeset/992bdcd2ed2c/

Log:	typo

diff --git a/c/test_c.py b/c/test_c.py
--- a/c/test_c.py
+++ b/c/test_c.py
@@ -408,7 +408,7 @@
 def test_invalid_indexing():
     p = new_primitive_type("int")
     x = cast(p, 42)
-    py.test.raises(TypeError, "p[0]")
+    py.test.raises(TypeError, "x[0]")
 
 def test_default_str():
     BChar = new_primitive_type("char")


More information about the pypy-commit mailing list