Provides tests for KDVS. Three levels of testing are devised: unit tests (t), function tests (f), system tests (s). Currently, only t tests are implemented; some dummy f and s tests are also included for completion.
Default directory that contains read–only test data.
Default writable directory to be used by tests that require writing.
Bases: exceptions.Exception
Resolve unit testing module depending on the Python version and return it:
Raises : | TestError :
|
---|
Constant values for all tests.
Return True if directory is writable (checked by creating dummy temporary file in it), False otherwise
Return number of newlines (“\n”) in the stream.
Context manager that consumes all output directed to sys.stderr without emitting it.
Context manager that consumes all output directed to sys.stdout without emitting it.
Return True if version of installed numpy is greater or equal than provided, False otherwise.