Changeset f0e09d6 in sasmodels


Ignore:
Timestamp:
Aug 7, 2017 7:11:24 AM (7 years ago)
Author:
lewis
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
9826f82
Parents:
f2cbeb7 (diff), 997c9ca (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into ticket-754

Location:
sasmodels
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/__init__.py

    r79906d1 r997c9ca  
    1414defining new models. 
    1515""" 
    16 __version__ = "0.94" 
     16__version__ = "0.97" 
    1717 
    1818def data_files(): 
  • sasmodels/model_test.py

    rbb4b509 rf2cbeb7  
    4747import sys 
    4848import unittest 
     49from StringIO import StringIO 
    4950 
    5051import numpy as np  # type: ignore 
     
    350351 
    351352    # Build a object to capture and print the test results 
    352     stream = _WritelnDecorator(sys.stdout)  # Add writeln() method to stream 
     353    stream = _WritelnDecorator(StringIO())  # Add writeln() method to stream 
    353354    verbosity = 2 
    354355    descriptions = True 
     
    388389    else: 
    389390        stream.writeln("Note: no test suite created --- this should never happen") 
     391 
     392    output = stream.getvalue() 
     393    stream.close() 
     394    return output 
    390395 
    391396 
Note: See TracChangeset for help on using the changeset viewer.