tests/compat.py Role: STANDALONE (In:0 Out:0 Betweenness:0.0) Provides backward-compatibility shims for test code, including a deprecated u() function and conditional imports of StringIO. Not imported by any other test module.