[Python-modules-commits] [pytest] 07/09: Skip test under PyPy

Sebastian Ramacher sramacher at moszumanska.debian.org
Thu Jul 13 12:55:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

sramacher pushed a commit to branch master
in repository pytest.

commit 6dd73896a4002b088d27c5070b541c1ffa5fae93
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Thu Jul 13 13:44:54 2017 +0200

    Skip test under PyPy
---
 testing/test_warnings.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testing/test_warnings.py b/testing/test_warnings.py
index 69bda11..9e23be8 100644
--- a/testing/test_warnings.py
+++ b/testing/test_warnings.py
@@ -138,7 +138,7 @@ def test_unicode(testdir, pyfile_with_warnings):
     ])
 
 
- at pytest.mark.skipif(sys.version_info >= (3, 0),
+ at pytest.mark.skipif(sys.version_info >= (3, 0) or  '__pypy__' in sys.builtin_module_names,
                     reason='warnings message is broken as it is not str instance')
 def test_py2_unicode(testdir, pyfile_with_warnings):
     testdir.makepyfile('''

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pytest.git



More information about the Python-modules-commits mailing list