From 6cb5285f29247b877e47f256d84bf6313db7b484 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Tue, 25 Sep 2018 23:48:47 -0700 Subject: [2.1.x] Refs #29784 -- Switched to https:// links where available. Backport of 82f286cf6f198d37850d3c5df637b5665566a66b from master. --- tests/utils_tests/test_html.py | 2 +- tests/utils_tests/test_jslex.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/utils_tests') diff --git a/tests/utils_tests/test_html.py b/tests/utils_tests/test_html.py index 005f4c79b5..94b8f946cc 100644 --- a/tests/utils_tests/test_html.py +++ b/tests/utils_tests/test_html.py @@ -84,7 +84,7 @@ class TestUtilsHtml(SimpleTestCase): ('de

f', 'def'), ('foobar', 'foobar'), # caused infinite loop on Pythons not patched with - # http://bugs.python.org/issue20288 + # https://bugs.python.org/issue20288 ('&gotcha&#;<>', '&gotcha&#;<>'), ('ript>test</script>', 'ript>test'), ('&h', 'alert()h'), diff --git a/tests/utils_tests/test_jslex.py b/tests/utils_tests/test_jslex.py index 52a4b65d69..bf737b8fd2 100644 --- a/tests/utils_tests/test_jslex.py +++ b/tests/utils_tests/test_jslex.py @@ -41,7 +41,7 @@ class JsTokensTest(SimpleTestCase): (r"a=/a*\[^/,1", ["id a", "punct =", r"regex /a*\[^/", "punct ,", "dnum 1"]), (r"a=/\//,1", ["id a", "punct =", r"regex /\//", "punct ,", "dnum 1"]), - # next two are from http://www.mozilla.org/js/language/js20-2002-04/rationale/syntax.html#regular-expressions + # next two are from https://www-archive.mozilla.org/js/language/js20-2002-04/rationale/syntax.html#regular-expressions # NOQA ("""for (var x = a in foo && "" || mot ? z:/x:3;x<5;y"', "punct ||", "id mot", "punct ?", "id z", @@ -57,7 +57,7 @@ class JsTokensTest(SimpleTestCase): # Various "illegal" regexes that are valid according to the std. (r"""/????/, /++++/, /[----]/ """, ["regex /????/", "punct ,", "regex /++++/", "punct ,", "regex /[----]/"]), - # Stress cases from http://stackoverflow.com/questions/5533925/what-javascript-constructs-does-jslex-incorrectly-lex/5573409#5573409 # NOQA + # Stress cases from https://stackoverflow.com/questions/5533925/what-javascript-constructs-does-jslex-incorrectly-lex/5573409#5573409 # NOQA (r"""/\[/""", [r"""regex /\[/"""]), (r"""/[i]/""", [r"""regex /[i]/"""]), (r"""/[\]]/""", [r"""regex /[\]]/"""]), -- cgit v1.3