Changes in / [997c9ca:f0e09d6] in sasmodels
- 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.