Author: Armin Rigo <[email protected]>
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")
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit