diff options
author | Graham Christensen <graham@grahamc.com> | 2016-04-01 11:48:18 -0500 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-04-02 10:10:38 +0200 |
commit | 65efc9ee2eaec581766ed5b4384307b17ab016cf (patch) | |
tree | 52afce0887becaa9bba3361918d4aaa632b724d6 /pkgs/development | |
parent | 2e9a1e263ae45fdfcd9c902d9ce2060c6c29bab9 (diff) | |
download | nixlib-65efc9ee2eaec581766ed5b4384307b17ab016cf.tar nixlib-65efc9ee2eaec581766ed5b4384307b17ab016cf.tar.gz nixlib-65efc9ee2eaec581766ed5b4384307b17ab016cf.tar.bz2 nixlib-65efc9ee2eaec581766ed5b4384307b17ab016cf.tar.lz nixlib-65efc9ee2eaec581766ed5b4384307b17ab016cf.tar.xz nixlib-65efc9ee2eaec581766ed5b4384307b17ab016cf.tar.zst nixlib-65efc9ee2eaec581766ed5b4384307b17ab016cf.zip |
pythonPackages.sphinx: 1.3.4 -> 1.3.6
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/sphinx-fix-tests-with-pygments-2.1.patch | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/pkgs/development/python-modules/sphinx-fix-tests-with-pygments-2.1.patch b/pkgs/development/python-modules/sphinx-fix-tests-with-pygments-2.1.patch deleted file mode 100644 index 5aa4af873cd5..000000000000 --- a/pkgs/development/python-modules/sphinx-fix-tests-with-pygments-2.1.patch +++ /dev/null @@ -1,63 +0,0 @@ -From 5574aba60ed76f2bae947722122ac4d71ab8ed5a Mon Sep 17 00:00:00 2001 -From: Takeshi KOMIYA <i.tkomiya@gmail.com> -Date: Mon, 18 Jan 2016 12:38:02 +0900 -Subject: [PATCH] Fix tests are broken with pygments-2.1 - ---- - tests/test_build_html.py | 2 +- - tests/test_intl.py | 10 ++++++---- - 2 files changed, 7 insertions(+), 5 deletions(-) - -diff --git a/tests/test_build_html.py b/tests/test_build_html.py -index e330761..17ea089 100644 ---- a/tests/test_build_html.py -+++ b/tests/test_build_html.py -@@ -82,7 +82,7 @@ def checker(nodes): - (".//a[@href='_downloads/img1.png']", ''), - (".//pre", u'"quotes"'), - (".//pre", u"'included'"), -- (".//pre/span[@class='s']", u'üöä'), -+ (".//pre/span[@class='s2']", u'üöä'), - (".//div[@class='inc-pyobj1 highlight-text']//pre", - r'^class Foo:\n pass\n\s*$'), - (".//div[@class='inc-pyobj2 highlight-text']//pre", -diff --git a/tests/test_intl.py b/tests/test_intl.py -index 4c665d4..b24ec65 100644 ---- a/tests/test_intl.py -+++ b/tests/test_intl.py -@@ -694,14 +694,15 @@ def test_additional_targets_should_not_be_translated(app, status, warning): - yield assert_count(expected_expr, result, 1) - - # C code block with lang should not be translated but be *C* highlighted -- expected_expr = """<span class="cp">#include <stdio.h></span>""" -+ expected_expr = ("""<span class="cp">#include</span> """ -+ """<span class="cpf"><stdio.h></span>""") - yield assert_count(expected_expr, result, 1) - - # doctest block should not be translated but be highlighted - expected_expr = ( - """<span class="gp">>>> </span>""" - """<span class="kn">import</span> <span class="nn">sys</span> """ -- """<span class="c"># sys importing</span>""") -+ """<span class="c1"># sys importing</span>""") - yield assert_count(expected_expr, result, 1) - - ## raw.txt -@@ -754,14 +755,15 @@ def test_additional_targets_should_be_translated(app, status, warning): - yield assert_count(expected_expr, result, 1) - - # C code block with lang should be translated and be *C* highlighted -- expected_expr = """<span class="cp">#include <STDIO.H></span>""" -+ expected_expr = ("""<span class="cp">#include</span> """ -+ """<span class="cpf"><STDIO.H></span>""") - yield assert_count(expected_expr, result, 1) - - # doctest block should not be translated but be highlighted - expected_expr = ( - """<span class="gp">>>> </span>""" - """<span class="kn">import</span> <span class="nn">sys</span> """ -- """<span class="c"># SYS IMPORTING</span>""") -+ """<span class="c1"># SYS IMPORTING</span>""") - yield assert_count(expected_expr, result, 1) - - ## raw.txt |