Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r3253:b89baed6d697
Date: 2019-04-02 15:37 +0200
http://bitbucket.org/cffi/cffi/changeset/b89baed6d697/

Log:    style

diff --git a/testing/cffi1/test_new_ffi_1.py b/testing/cffi1/test_new_ffi_1.py
--- a/testing/cffi1/test_new_ffi_1.py
+++ b/testing/cffi1/test_new_ffi_1.py
@@ -574,7 +574,7 @@
         #
         u = ffi.new("union simple_u*", [-2])
         assert u.a == -2
-        with py.test.raises((AttributeError, TypeError)):
+        with pytest.raises((AttributeError, TypeError)):
             del u.a
         assert repr(u) == "<cdata 'union simple_u *' owning %d bytes>" % (
             SIZE_OF_INT,)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to