[merge] fix up bad calls to build_tree
Martin Pool
mbp at sourcefrog.net
Thu Nov 29 07:16:50 GMT 2007
Some recently-added tests were passing strings to
TestCase.build_tree() rather than lists of names. This not only
creates the wrong files (by Python treating the string as a sequence
of characters), but also makes it fail when run without -O. This
patch corrects the calls, and also changes the assertion to a manual
if/raise so it'll be more consistent.
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20071129-build-tree.diff
Type: text/x-diff
Size: 5575 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071129/5ddd62a8/attachment.bin
More information about the bazaar
mailing list