Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r2785:845cf45dafc7 Date: 2016-10-14 10:19 +0200 http://bitbucket.org/cffi/cffi/changeset/845cf45dafc7/
Log: Improve test diff --git a/c/test_c.py b/c/test_c.py --- a/c/test_c.py +++ b/c/test_c.py @@ -3700,3 +3700,5 @@ assert len(w) == 2 newp(new_pointer_type(BIntP), z3) # fine assert len(w) == 2 + # check that the warnings are associated with lines in this file + assert w[1].lineno == w[0].lineno + 4 _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit