[pypy-commit] cffi default: style

arigo pypy.commits at gmail.com
Tue Apr 2 09:55:20 EDT 2019


Author: Armin Rigo <arigo at 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,)


More information about the pypy-commit mailing list