Version 1.0b1 API Documentation generated by Endo 2006-08-14
Utility function to facilitate testing.
Raise an assertion if two items are not equal.
I think this should be part of unittest.py
The test is equivalent to abs(desired-actual) < 0.5 * 10**(-decimal)
Raise an assertion if two items are not equal. I think this should be part of unittest.py Approximately equal is defined as the number of significant digits correct
Raise an assertion if two items are not equal. I think this should be part of unittest.py
Returns an array of random numbers with the given shape.
This only uses the standard library, so it is useful for testing purposes.
| Local name | Refers to |
|---|---|
| operator | operator |
| os | os |
| sys | sys |