Changeset f2cbeb7 in sasmodels
- Timestamp:
- Aug 7, 2017 7:09:11 AM (7 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- f0e09d6
- Parents:
- 724257c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/model_test.py
rbb4b509 rf2cbeb7 47 47 import sys 48 48 import unittest 49 from StringIO import StringIO 49 50 50 51 import numpy as np # type: ignore … … 350 351 351 352 # Build a object to capture and print the test results 352 stream = _WritelnDecorator( sys.stdout) # Add writeln() method to stream353 stream = _WritelnDecorator(StringIO()) # Add writeln() method to stream 353 354 verbosity = 2 354 355 descriptions = True … … 388 389 else: 389 390 stream.writeln("Note: no test suite created --- this should never happen") 391 392 output = stream.getvalue() 393 stream.close() 394 return output 390 395 391 396
Note: See TracChangeset
for help on using the changeset viewer.