[llvm-commits] [PATCH 5/5] [python] Add failing MemoryBuffer testcase

Gregory Szorc gregory.szorc at gmail.com
Mon Mar 19 14:25:09 PDT 2012


This can be done without nose using the unittest built-in:

with self.assertRaises(Exception):
     do_something_that_raises();

I'd prefer to do that instead of involving nose. Nose is a great test 
runner. But, I like the ability to do things with just the built-ins, if 
desired.

On 3/19/12 1:25 PM, Anders Waldenborg wrote:
> ---
>   bindings/python/llvm/tests/test_core.py |    5 +++++
>   1 files changed, 5 insertions(+), 0 deletions(-)
>
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list