ports/devel/py-scripttest/files/patch-tests_test__string.py
Kubilay Kocak ed0e1afb67 devel/py-scripttest: Rename, Update to 1.3.0
- Update to 1.3.0
- Chase upstream rename from ScriptTest to "scripttest"
- USE_GITHUB to get tests until sdist includes it [1]
- Add python to CATEGORIES
- Add TEST_DEPENDS and regression-test target
- Sort USE_PYTHON
- Patch tests to include skipIf reasons. Send upstream [2]

While MOVE'ing:

- Update MOVED
- Update devel/Makefile
- Fix date going backwards bug in MOVED [3]

[1] https://github.com/pypa/scripttest/issues/11
[2] https://github.com/pypa/scripttest/pull/12
[3] 7597: date going backwards from 2015-05-24 to 2015-05-23

Approved by:	nivit (maintainer, via email)
2015-06-02 15:25:43 +00:00

13 lines
524 B
Python
Raw 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")
#-----------------------------------------