Package cosmolopy :: Module saveable :: Class NullWriter

Class NullWriter

source code

Dummy file-like object that does nothing.

From http://stackoverflow.com/questions/1809958/hide-stderr-output-in-unit-tests

Used in Saveable.

Instance Methods
 
write(self, s) source code