Ignore:
Timestamp:
Oct 11, 2018 12:03:40 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1249
Children:
7c4bb4d
Parents:
e090ba90
Message:

support for py37 in unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/sasdataloader/plugins/test_reader.py

    raaf5e49 r88d2e70  
    4040                    input_f =  open(path,'r') 
    4141                except : 
    42                     raise  RuntimeError, "ascii_reader: cannot open %s" % path 
     42                    raise  RuntimeError("ascii_reader: cannot open %s" % path) 
    4343                buff = input_f.read() 
    4444                lines = buff.split('\n') 
     
    5555                return output 
    5656        else: 
    57             raise RuntimeError, "%s is not a file" % path 
     57            raise RuntimeError("%s is not a file" % path) 
    5858        return None 
    5959     
Note: See TracChangeset for help on using the changeset viewer.