Bug 2025583 - python-listparser fails to build with Python 3.11: AttributeError: 'TestCases' object has no attribute 'assert_'
Summary: python-listparser fails to build with Python 3.11: AttributeError: 'TestCases...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-listparser
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Artem
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.11
TreeView+ depends on / blocked
 
Reported: 2021-11-22 14:24 UTC by Tomáš Hrnčiar
Modified: 2022-01-12 17:36 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-12 17:36:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2021-11-22 14:24:38 UTC
python-listparser fails to build with Python 3.11.0a2.

======================================================================
ERROR: testImage (__main__.TestCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 153, in testImage
    self.assert_(result.bozo == 1)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: testUserAgentCustomArg (__main__.TestCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 141, in testUserAgentCustomArg
    self.assert_(result.headers.get('x-agent') == "CustomAgent")
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: testUserAgentDefault (__main__.TestCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 136, in testUserAgentDefault
    self.assert_(result.headers.get('x-agent') == listparser.USER_AGENT)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: testUserAgentGlobalOverride (__main__.TestCases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 149, in testUserAgentGlobalOverride
    self.assert_(result.headers.get('x-agent') == "NewGlobalAgent")
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_bad_bytes-00ff (__main__.TestCases)
bad_bytes-00ff.xml: Bad bytes (00ff)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_http/http-bad_last_modified (__main__.TestCases)
http/http-bad_last_modified.xml: Bad HTTP Last-Modified
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_http/http-bad_status (__main__.TestCases)
http/http-bad_status.xml: HTTP bad status
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_http/http_301 (__main__.TestCases)
http/http_301.xml: HTTP 301 redirect
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_http/http_302 (__main__.TestCases)
http/http_302.xml: HTTP 302 redirect
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_http/http_303 (__main__.TestCases)
http/http_303.xml: HTTP 303 redirect
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_http/http_304-etag (__main__.TestCases)
http/http_304-etag.xml: HTTP 304 Not Modified (ETag)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_http/http_304-last_modified_1 (__main__.TestCases)
http/http_304-last_modified.xml: HTTP 304 Not Modified (Last-Modified) [string]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_http/http_304-last_modified_2 (__main__.TestCases)
http/http_304-last_modified.xml: HTTP 304 Not Modified (Last-Modified) [datetime]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_http/http_307 (__main__.TestCases)
http/http_307.xml: HTTP 307 redirect
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_http/http_404 (__main__.TestCases)
http/http_404.xml: HTTP 404
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_http/http_etag (__main__.TestCases)
http/http_etag.xml: HTTP ETag
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_http/http_last_modified (__main__.TestCases)
http/http_last_modified.xml: HTTP Last-Modified
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_igoogle/GadgetTabML (__main__.TestCases)
igoogle/GadgetTabML.xml: iGoogle: Detect iGoogle format
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_igoogle/ModulePrefs_xmlUrl (__main__.TestCases)
igoogle/ModulePrefs_xmlUrl.xml: iGoogle: Detect a feed
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_igoogle/ModulePrefs_xmlUrl-wrong_type (__main__.TestCases)
igoogle/ModulePrefs_xmlUrl-wrong_type.xml: iGoogle: Ignore @xmlUrl when @type!="rss"
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_igoogle/hierarchy (__main__.TestCases)
igoogle/hierarchy.xml: iGoogle: Detect categories and tags
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_igoogle/hierarchy-bad (__main__.TestCases)
igoogle/hierarchy-bad.xml: iGoogle: Maintain the hierarchy
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_injection/attribute-node (__main__.TestCases)
injection/attribute-node.xml: Undefined entity reference (attribute node)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_injection/still-undefined (__main__.TestCases)
injection/still-undefined.xml: Undefined entity reference (even after injection)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_injection/text-node-1 (__main__.TestCases)
injection/text-node-1.xml: Undefined entity reference (text node 1)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_injection/text-node-2 (__main__.TestCases)
injection/text-node-2.xml: Undefined entity reference (text node 2)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/categories/cats-1-single_standalone (__main__.TestCases)
opml/categories/cats-1-single_standalone.xml: //outline/@category (categories 1)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/categories/cats-2-single_hierarchy (__main__.TestCases)
opml/categories/cats-2-single_hierarchy.xml: //outline/@category (categories 2)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/categories/cats-3-multiple (__main__.TestCases)
opml/categories/cats-3-multiple.xml: //outline/@category (categories 3)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/categories/cats-4-bad (__main__.TestCases)
opml/categories/cats-4-bad.xml: //outline/@category (categories 4)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/categories/duplication (__main__.TestCases)
opml/categories/duplication.xml: Category and tag duplication
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/categories/hier-1-single (__main__.TestCases)
opml/categories/hier-1-single.xml: Hierarchy 1 (single grouping)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/categories/hier-2-nested (__main__.TestCases)
opml/categories/hier-2-nested.xml: Hierarchy 2 (nested groupings)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/categories/hier-3-whitespace (__main__.TestCases)
opml/categories/hier-3-whitespace.xml: Hierarchy 3 (whitespace stripped)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/categories/hier-4-mixed (__main__.TestCases)
opml/categories/hier-4-mixed.xml: Hierarchy 4 (hierarchy mixed with @category)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/categories/hier-5-title (__main__.TestCases)
opml/categories/hier-5-title.xml: Hierarchy 5 (@title used when @text is missing)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/categories/tags-1-single (__main__.TestCases)
opml/categories/tags-1-single.xml: //outline/@category (tags 1)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/categories/tags-2-multiple (__main__.TestCases)
opml/categories/tags-2-multiple.xml: //outline/@category (tags 2)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/categories/tags-3-cats_mixed (__main__.TestCases)
opml/categories/tags-3-cats_mixed.xml: //outline/@category (tags 3)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/categories/tags-4-bad (__main__.TestCases)
opml/categories/tags-4-bad.xml: //outline/@category (tags 4)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/head-empty_tags (__main__.TestCases)
opml/head-empty_tags.xml: /opml/head/: empty tags
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/head_dateCreated (__main__.TestCases)
opml/head_dateCreated.xml: /opml/head/dateCreated
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/head_dateCreated-invalid (__main__.TestCases)
opml/head_dateCreated-invalid.xml: /opml/head/dateCreated invalid
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/head_dateCreated-whitespace (__main__.TestCases)
opml/head_dateCreated-whitespace.xml: /opml/head/dateCreated stripped of whitespace
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/head_dateModified (__main__.TestCases)
opml/head_dateModified.xml: /opml/head/dateModified
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/head_dateModified-invalid (__main__.TestCases)
opml/head_dateModified-invalid.xml: /opml/head/dateModified invalid
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/head_dateModified-whitespace (__main__.TestCases)
opml/head_dateModified-whitespace.xml: /opml/head/dateModified stripped of whitespace
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/head_ownerEmail (__main__.TestCases)
opml/head_ownerEmail.xml: /opml/head/ownerEmail
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/head_ownerEmail-whitespace (__main__.TestCases)
opml/head_ownerEmail-whitespace.xml: /opml/head/ownerEmail stripped of whitespace
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/head_ownerId (__main__.TestCases)
opml/head_ownerId.xml: /opml/head/ownerId
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/head_ownerId-whitespace (__main__.TestCases)
opml/head_ownerId-whitespace.xml: /opml/head/ownerId stripped of whitespace
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/head_ownerName (__main__.TestCases)
opml/head_ownerName.xml: /opml/head/ownerName
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/head_ownerName-whitespace (__main__.TestCases)
opml/head_ownerName-whitespace.xml: /opml/head/ownerName stripped of whitespace
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/head_title (__main__.TestCases)
opml/head_title.xml: /opml/head/title
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/head_title-whitespace (__main__.TestCases)
opml/head_title-whitespace.xml: /opml/head/title stripped of whitespace
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/include/outline_text (__main__.TestCases)
opml/include/outline_text.xml: //outline[@type='include']/@text
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/include/outline_text-whitespace (__main__.TestCases)
opml/include/outline_text-whitespace.xml: //outline[@type='include']/@text stripped of whitespace
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/include/outline_type-case_insensitive (__main__.TestCases)
opml/include/outline_type-case_insensitive.xml: //outline/@type case-insensitive
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/include/outline_type-include (__main__.TestCases)
opml/include/outline_type-include.xml: //outline[@type='include']
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/include/outline_type-no_url (__main__.TestCases)
opml/include/outline_type-no_url.xml: //outline[@type='include'], no @url
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/include/outline_url (__main__.TestCases)
opml/include/outline_url.xml: //outline[@type='include']/@url
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/include/outline_url-whitespace (__main__.TestCases)
opml/include/outline_url-whitespace.xml: //outline[@type='include']/@url stripped of whitespace
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/link/outline_text (__main__.TestCases)
opml/link/outline_text.xml: //outline[@type='link']/@text
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/link/outline_text-whitespace (__main__.TestCases)
opml/link/outline_text-whitespace.xml: //outline[@type='link']/@text stripped of whitespace
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/link/outline_type-case_insensitive (__main__.TestCases)
opml/link/outline_type-case_insensitive.xml: //outline/@type case-insensitive
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/link/outline_type-link (__main__.TestCases)
opml/link/outline_type-link.xml: //outline[@type='link']
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/link/outline_type-no_url (__main__.TestCases)
opml/link/outline_type-no_url.xml: //outline[@type='link'], no @url
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/link/outline_url (__main__.TestCases)
opml/link/outline_url.xml: //outline[@type='link']/@url
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/link/outline_url-whitespace (__main__.TestCases)
opml/link/outline_url-whitespace.xml: //outline[@type='link']/@url stripped of whitespace
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/opml_version-1 (__main__.TestCases)
opml/opml_version-1.xml: OPML v1
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/opml_version-11 (__main__.TestCases)
opml/opml_version-11.xml: OPML v1.1
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/opml_version-2 (__main__.TestCases)
opml/opml_version-2.xml: OPML v2
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/opml_version-missing (__main__.TestCases)
opml/opml_version-missing.xml: OPML version missing
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/opml_version-unknown (__main__.TestCases)
opml/opml_version-unknown.xml: OPML version unknown
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/opportunities/opml-htmlUrl (__main__.TestCases)
opml/opportunities/opml-htmlUrl.xml: OPML - Detect an opportunity
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/opportunities/opml-htmlUrl-empty (__main__.TestCases)
opml/opportunities/opml-htmlUrl-empty.xml: OPML - Ignore if @htmlUrl is empty
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/opportunities/opml-htmlUrl-miscapitalized (__main__.TestCases)
opml/opportunities/opml-htmlUrl-miscapitalized.xml: OPML - Detect an opportunity when @htmlUrl is miscapitalized
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/opportunities/opml-htmlUrl-valid_feed (__main__.TestCases)
opml/opportunities/opml-htmlUrl-valid_feed.xml: OPML - Ignore if feed is valid
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/opportunities/opml-htmlUrl_alone (__main__.TestCases)
opml/opportunities/opml-htmlUrl_alone.xml: OPML - Detect an opportunity
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/outline-duplication-1 (__main__.TestCases)
opml/outline-duplication-1.xml: OPML | Handle duplicate outlines
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/outline-duplication-2 (__main__.TestCases)
opml/outline-duplication-2.xml: OPML | Handle duplicate outlines (consolidate cats/tags)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/outline_text (__main__.TestCases)
opml/outline_text.xml: //outline/@text
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/outline_text-overrides_title (__main__.TestCases)
opml/outline_text-overrides_title.xml: //outline/@text overrides //outline/@title
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/outline_text-whitespace (__main__.TestCases)
opml/outline_text-whitespace.xml: //outline[@type='rss']/@text stripped of whitespace
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/outline_title-text_empty (__main__.TestCases)
opml/outline_title-text_empty.xml: //outline/@title used when @text is effectively empty
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/outline_title-text_missing (__main__.TestCases)
opml/outline_title-text_missing.xml: //outline/@title used when @text is missing
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/outline_title-text_missing-whitespace (__main__.TestCases)
opml/outline_title-text_missing-whitespace.xml: //outline/@title used when @text is missing and stripped of whitespace
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/outline_type-case_insensitive (__main__.TestCases)
opml/outline_type-case_insensitive.xml: //outline/@type case-insensitive
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/outline_type-link (__main__.TestCases)
opml/outline_type-link.xml: //outline[@type='link'] (but @xmlUrl implies it's a feed)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/outline_type-missing (__main__.TestCases)
opml/outline_type-missing.xml: //outline/@type missing
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 348, in <lambda>
    return lambda self: self.worker(evals, testfile, etag, modified)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/listparser-0.18/lptest.py", line 161, in worker
    self.assert_(eval(ev))
    ^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestCases' object has no attribute 'assert_'

======================================================================
ERROR: test_opml/outline_type-pie (__main__.TestCases)
opml/outline_type-pie.xml: //outline[@type='pie']
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/

Removed many old deprecated unittest features:
    TestCase method aliases failUnlessEqual, failIfEqual, failUnless, failIf, failUnlessRaises, failUnlessAlmostEqual, failIfAlmostEqual (deprecated in Python 3.1), assertEquals, assertNotEquals, assert_, assertAlmostEquals, assertNotAlmostEquals, assertRegexpMatches, assertRaisesRegexp (deprecated in Python 3.2), and assertNotRegexpMatches (deprecated in Python 3.5).

https://bugs.python.org/issue45162
https://docs.python.org/3.11/whatsnew/3.11.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.11/fedora-rawhide-x86_64/02978881-python-listparser/

For all our attempts to build python-listparser with Python 3.11, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.11/package/python-listparser/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.11:
https://copr.fedorainfracloud.org/coprs/g/python/python3.11/

Let us know here if you have any questions.

Python 3.11 is planned to be included in Fedora 37. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.11.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Hugo van Kemenade 2021-12-31 09:34:32 UTC
Was fixed upstream in https://github.com/kurtmckee/listparser/commit/fdde5187679c6531fc21afc42c938fa5abc083e0 in 2016, but last release was 2015.

The project has had updates this year.


Note You need to log in before you can comment on or make changes to this bug.