Changeset 5625 for branches


Ignore:
Timestamp:
May 29, 2015, 6:29:52 AM (9 years ago)
Author:
mmh
Message:

update tests now that we write newlines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/uq/lang/python/Rappture/test/pyxml_test.py

    r5529 r5625  
    9090    curve = rx['output.curve(temp).component']
    9191    curve['xy'] = [[1, 2, 3], [4, 5, 6]]
    92     assert curve['xy'].value == "1 4 2 5 3 6"
     92    assert curve['xy'].value == "1 4\n2 5\n3 6"
    9393
    9494
     
    9797    curve = rx['output.curve(temp).component']
    9898    curve['xy'] = ([1, 2, 3], [4, 5, 6])
    99     assert curve['xy'].value == "1 4 2 5 3 6"
     99    assert curve['xy'].value == "1 4\n2 5\n3 6"
    100100
    101101
     
    104104    curve = rx['output.curve(temp).component']
    105105    curve['xy'] = ((1, 2, 3), (4, 5, 6))
    106     assert curve['xy'].value == "1 4 2 5 3 6"
     106    assert curve['xy'].value == "1 4\n2 5\n3 6"
    107107
    108108
Note: See TracChangeset for help on using the changeset viewer.