]> git.pld-linux.org Git - packages/python-six.git/blame - python-six-tests.patch
rebuild with tests and docs
[packages/python-six.git] / python-six-tests.patch
CommitLineData
7a7ec46e
JB
1HTMLParser is imported by some pytest extension.
2
3--- six-1.11.0/test_six.py.orig 2017-09-17 20:46:32.000000000 +0200
4+++ six-1.11.0/test_six.py 2018-07-15 09:35:02.566564199 +0200
5@@ -87,13 +87,13 @@
6
7 def test_lazy():
8 if six.PY3:
9- html_name = "html.parser"
10+ html_name = "http.cookiejar"
11 else:
12- html_name = "HTMLParser"
13+ html_name = "cookielib"
14 assert html_name not in sys.modules
15- mod = six.moves.html_parser
16+ mod = six.moves.http_cookiejar
17 assert sys.modules[html_name] is mod
18- assert "htmlparser" not in six._MovedItems.__dict__
19+ assert "httpcookiejar" not in six._MovedItems.__dict__
20
21
22 try:
This page took 0.338107 seconds and 4 git commands to generate.