Changes in test/run_one.py [aaad4c95:76f132a] in sasview


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/run_one.py

    raaad4c95 r76f132a  
    77import imp 
    88from os.path import abspath, dirname, split as splitpath, join as joinpath 
    9  
    10 import logging 
    11 logger = logging.getLogger(__name__) 
    12 if not logger.root.handlers: 
    13     import logging.config 
    14     LOGGER_CONFIG_FILE = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'logging.ini') 
    15     logging.config.fileConfig(LOGGER_CONFIG_FILE, disable_existing_loggers=False) 
    16  
    17 if len(sys.argv) < 2: 
    18     logger.error("Use %s <filename to test>",sys.argv[0]) 
    19     sys.exit(-1) 
    209 
    2110run_py = joinpath(dirname(dirname(abspath(__file__))), 'run.py') 
Note: See TracChangeset for help on using the changeset viewer.