[pypy-commit] pypy py3.6: fix raises

cfbolz pypy.commits at gmail.com
Mon Feb 18 05:03:24 EST 2019


Author: Carl Friedrich Bolz-Tereick <cfbolz at gmx.de>
Branch: py3.6
Changeset: r96051:f648c40320e6
Date: 2019-02-18 11:02 +0100
http://bitbucket.org/pypy/pypy/changeset/f648c40320e6/

Log:	fix raises

diff --git a/pypy/module/pypyjit/test_pypy_c/test_00_model.py b/pypy/module/pypyjit/test_pypy_c/test_00_model.py
--- a/pypy/module/pypyjit/test_pypy_c/test_00_model.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_00_model.py
@@ -440,7 +440,7 @@
             import sys
             sys.stderr.write('SKIP: foobar\n')
         #
-        raises(pytest.skip.Exception, "self.run(f, [])")
+        pytest.raises(pytest.skip.Exception, "self.run(f, [])")
 
     def test_parse_jitlog(self):
         def f():


More information about the pypy-commit mailing list