Changeset 5307:49d78bc10589 in livinglogic.python.xist

Show
Ignore:
Timestamp:
01/27/13 10:38:40 (7 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Test new type() results.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • test/test_ul4.py

    r5304 r5307  
    25832583    with raises(argumentmismatchmessage): 
    25842584        r("<?print type(1, 2)?>") 
     2585    assert "undefined" == r(code) 
    25852586    assert "none" == r(code, x=None) 
    25862587    assert "bool" == r(code, x=False) 
     
    25992600    assert "dict" == r(code, x=PseudoDict({1: 2})) 
    26002601    assert "template" == r(code, x=ul4c.Template("")) 
     2602    assert "function" == r("<?print type(repr)?>") 
    26012603    assert "color" == r(code, x=color.red) 
    26022604