Ignore:
Timestamp:
Sep 29, 2017, 9:59:40 AM (20 months ago)
Author:
cameron
Message:

Updates for Python 3; some refactoring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/UCD-scripts/generate_UCD_tests.py

    r5143 r5653  
    180180    ucd = UCD_test_generator()
    181181    ucd.load_all()
    182     print "<greptest>"
     182    print("<greptest>")
    183183    for t in ucd.generate_level_1_property_terms(1, ['sc', 'gc']):
    184         print t
     184        print(t)
    185185    for p in ucd.generate_random_property_expressions(True):
    186         print p
    187     print "</greptest>"
     186        print(p)
     187    print("</greptest>")
    188188
    189189if __name__ == "__main__":
Note: See TracChangeset for help on using the changeset viewer.