summaryrefslogtreecommitdiff
path: root/.unittests
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2022-07-26 15:07:35 -0700
committerTim Burke <tim.burke@gmail.com>2022-12-09 11:38:02 -0800
commitef155bd74aaf4ffce11956b2e5bd921dfb5d8809 (patch)
tree62ff11db3b04201a831e20a94f31ac0ce578c8b4 /.unittests
parent745dfec35e50fb4e3fe5d16da431215bf88a835c (diff)
downloadswift-ef155bd74aaf4ffce11956b2e5bd921dfb5d8809.tar.gz
Switch to pytest
nose has not seen active development for many years now. With py310, we can no longer use it due to import errors. Also update lower contraints Closes-Bug: #1993531 Change-Id: I215ba0d4654c9c637c3b97953d8659ac80892db8
Diffstat (limited to '.unittests')
-rwxr-xr-x.unittests2
1 files changed, 1 insertions, 1 deletions
diff --git a/.unittests b/.unittests
index aecedf813..9873b1797 100755
--- a/.unittests
+++ b/.unittests
@@ -3,7 +3,7 @@
TOP_DIR=$(dirname $(realpath "$0"))
cd $TOP_DIR/test/unit
-nosetests --exe --with-coverage --cover-package swift --cover-erase --cover-branches --cover-html --cover-html-dir="$TOP_DIR"/cover $@
+pytest --cov-report=html:"$TOP_DIR"/cover $@
rvalue=$?
rm -f .coverage
cd -