From 6e3f0f32eba204b673556551d18d175a9e62733e Mon Sep 17 00:00:00 2001 From: Tom Aldcroft Date: Fri, 21 Oct 2016 11:37:48 -0400 Subject: [PATCH] Use standard pytest idiom for xija (requires xija 0.7.1) --- packages/xija/test_unit.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/xija/test_unit.py b/packages/xija/test_unit.py index 4f2fe1f..d72fe33 100644 --- a/packages/xija/test_unit.py +++ b/packages/xija/test_unit.py @@ -1,4 +1,2 @@ -import xija -n_fail = xija.test('-v', '-s', '-k not test_minusz') -if n_fail > 0: - raise ValueError(str(n_fail) + ' test failures') +import testr +testr.testr()