r9527 (compressed fixtures) breaks loaddata for some Pythons
|Reported by:||Adam Gomaa||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
bz2 stdlib module is optional, and not compiled in all Pythons. r9527 breaks loaddata for those Pythons by having a top-level import for the module. Patch against trunk attached to fix the issue. The patch is untested, as I don't have a Python installation without bz2 to test with.