API Reference for Enthought Tool Suite 3.0.1
Wrap a context so that it accepts all key types used by BasicTestMappingProtocol.
DataContext is a mapping object, but it should only deal with keys that are strings. We want to reuse python's dict test cases, so we wrap contexts with a mapping adapter that injects keys into strings.
| Local name | Refers to |
|---|---|
| all | numpy.all |
| BasicTestMappingProtocol | enthought.contexts.tests.mapping_test_case.BasicTestMappingProtocol |
| DictMixin | UserDict.DictMixin |
| imap | itertools.imap |
| timeit | timeit |
| unittest | unittest |
© Copyright 2002-2008 Enthought, Inc.