[Python-modules-commits] [pytest] 04/06: Skip test under PyPy
Sebastian Ramacher
sramacher at moszumanska.debian.org
Sun Aug 13 15:33:24 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 c4ab2a85aace5a87483f1ad5d987746e47d1db83
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 1328cc3..56dec1c 100644
--- a/testing/test_warnings.py
+++ b/testing/test_warnings.py
@@ -141,7 +141,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