diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-01-12 16:58:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-01-12 16:58:08 +0000 |
commit | c8a77dfe4d3d307c1d5dd2650b7297447d8b609d (patch) | |
tree | 9ea78393bc3ecd6ab4de449383d4e97e5f3648ae /dev-python/pytest/files | |
parent | 2891d29af8907ce881662f4a02844926d7a293c7 (diff) |
gentoo resync : 12.01.2019
Diffstat (limited to 'dev-python/pytest/files')
-rw-r--r-- | dev-python/pytest/files/pytest-3.6.3-pypy-syntaxerror-offset.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/dev-python/pytest/files/pytest-3.6.3-pypy-syntaxerror-offset.patch b/dev-python/pytest/files/pytest-3.6.3-pypy-syntaxerror-offset.patch deleted file mode 100644 index 31dd00546761..000000000000 --- a/dev-python/pytest/files/pytest-3.6.3-pypy-syntaxerror-offset.patch +++ /dev/null @@ -1,29 +0,0 @@ -https://salsa.debian.org/python-team/modules/pytest/commit/405c05a0827592515de76e23c94de1f7773273e6.patch - -(updated by mgorny for 3.6.3 -- upstream quoting changes) - -From 405c05a0827592515de76e23c94de1f7773273e6 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Ond=C5=99ej=20Nov=C3=BD?= <onovy@debian.org> -Date: Thu, 10 May 2018 11:42:56 +0200 -Subject: [PATCH] Fix PyPy SyntaxError offset in tests - ---- - testing/code/test_source.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/testing/code/test_source.py b/testing/code/test_source.py -index fcce3fa..22278d8 100644 ---- a/testing/code/test_source.py -+++ b/testing/code/test_source.py -@@ -117,7 +117,7 @@ def test_source_strip_multiline(): - def test_syntaxerror_rerepresentation(): - ex = pytest.raises(SyntaxError, _pytest._code.compile, "xyz xyz") - assert ex.value.lineno == 1 -- assert ex.value.offset in (4, 7) # XXX pypy/jython versus cpython? -+ assert ex.value.offset in (4, 5, 7) # XXX pypy/jython versus cpython? - assert ex.value.text.strip(), "x x" - - --- -2.18.0 - |