diff options
author | Armin Rigo <arigo@tunes.org> | 2016-10-14 10:19:50 +0200 |
---|---|---|
committer | Armin Rigo <arigo@tunes.org> | 2016-10-14 10:19:50 +0200 |
commit | 46c1185422bbace87168177a54d0ffe5f2f48c04 (patch) | |
tree | 4784a3e45557a5f534b61cfdc5bde21cd03edb82 | |
parent | 24dc15cee23c4d10771e6e385de95f8a4a8e3f60 (diff) | |
download | cffi-46c1185422bbace87168177a54d0ffe5f2f48c04.tar.gz |
Improve test
-rw-r--r-- | c/test_c.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c/test_c.py b/c/test_c.py index 3d5f23b..4c54364 100644 --- a/c/test_c.py +++ b/c/test_c.py @@ -3700,3 +3700,5 @@ def test_char_pointer_conversion(): 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 |