[MERGE][BUG 315737] Fix failing test when CompiledChunksToLines is not available.
Aaron Bentley
aaron at aaronbentley.com
Sat Jan 10 19:54:03 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Vincent Ladeuil wrote:
> Funny... I had the fix sitting on my desk, first as part of an
> abandoned submission, then as part as an ongoing
> python-2.6-and-osX-non-regression check and the bug finally got
> reported...
>
> The bug is that the test forgot to call the available() method of
> the test feature making it succeed unconditionally.
Thanks, that's bitten me a few times.
bb:approve.
The test seems odd-- If it's checking that chunks_to_lines is compiled,
why doesn't it just requireFeature(CompiledChunksToLinesFeature)?
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAklo/NsACgkQ0F+nu1YWqI2vagCggVrfuoB7bp5yLP614kUJZi4h
No4AnjBrg+cktDnV5p6hxJekrxujn0fo
=8DeV
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list