opnsense-ports/devel/py-scripttest/files/patch-tests_test__string.py
Franco Fichtner 75ca77bba1 */*: sync with upstream
Taken from: FreeBSD
2015-06-03 09:37:17 +02:00

13 lines
524 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- tests/test_string.py.orig 2015-06-02 05:43:40 UTC
+++ tests/test_string.py
@@ -22,8 +22,8 @@ else:
utf8_str = 'Björk Guðmundsdóttir [ˈpjœr̥k ˈkvʏðmʏntsˌtoʊhtɪr]'
-py2only = pytest.mark.skipif("sys.version_info >= (3, 0)")
-py3only = pytest.mark.skipif("sys.version_info < (3, 0)")
+py2only = pytest.mark.skipif("sys.version_info >= (3, 0)",reason="Python 2.x Only")
+py3only = pytest.mark.skipif("sys.version_info < (3, 0)",reason="Python 3.x Only")
#-----------------------------------------