Changeset 2711:113988ef6cf0 in livinglogic.python.xist for test/test_xist.py

Show
Ignore:
Timestamp:
06/22/07 18:38:16 (13 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Raise error in tonode() instead of issueing a warning.

Remove second implementation for Attrs.iter() (which was wrong).

Raise an error for Attrs passed to tonode().

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • test/test_xist.py

    r2710 r2711  
    6262        node.append(html.p.Attrs.id(7)) 
    6363        check_lenunicode(node, 7, u"1234567") 
    64         py.test.raises(TypeError, node.append, xml.Attrs(lang="de")) 
     64        py.test.raises(TypeError, node.append, xml.Attrs(lang=8)) 
    6565 
    6666