]>
Commit | Line | Data |
---|---|---|
7a7ec46e JB |
1 | HTMLParser 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: |