Slow tests
Martin Pool
mbp at canonical.com
Thu Sep 17 23:37:10 BST 2009
2009/9/18 Robert Collins <robertc at robertcollins.net>:
> Its handling of comments and docstrings that probably drove Martin's use
> of the AST. If we're not actually using the word assert anywhere, then
> I'd just be as simple [and fast:)] as possible.
Yes, I used the AST so that it would be more correct, but this is an
unreasonably high price to pay for it. I think using a regexp is
fine, and if that means that we can't have the word 'assert' at the
start of a line in a docstring we'll live with it.
--
Martin <http://launchpad.net/~mbp/>
More information about the bazaar
mailing list