The attached branch fixes this immediate issue for test_trivial_bzipped , but there are still a couple of other places where bzr can pass an empty string to bz2.compress().
The attached branch fixes this immediate issue for test_trivial_ bzipped , but there are still a couple of other places where bzr can pass an empty string to bz2.compress().