Part of bzrlib.tests.test_osutils_encodings View In Hierarchy
Clients can add new encoding names, but because of how codecs is implemented they cannot be removed. Be careful with naming to avoid collisions between tests.
Method | add | Adding encoding name to fake. |
Method | __call__ | Called indirectly by codecs module during lookup |