From 65eb2173534e847427410f066ae0daabc127ace4 Mon Sep 17 00:00:00 2001 From: gfyoung Date: Sun, 9 Jul 2017 11:39:20 -0700 Subject: [PATCH] Drop nose dependency on Travis Nose is not a well-supported library anymore. Let's just use Python's builtin unittest library. --- ci/install_conda_env.sh | 2 +- ci/test_repo.sh | 2 +- readme_template.md | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/ci/install_conda_env.sh b/ci/install_conda_env.sh index 36c396865..cf3cfcb25 100755 --- a/ci/install_conda_env.sh +++ b/ci/install_conda_env.sh @@ -5,4 +5,4 @@ conda create -n hosts python=$PYTHON_VERSION || exit 1 source activate hosts echo "Installing packages..." -conda install mock nose flake8 +conda install mock flake8 diff --git a/ci/test_repo.sh b/ci/test_repo.sh index f918d9b4b..0ca8a7f77 100755 --- a/ci/test_repo.sh +++ b/ci/test_repo.sh @@ -3,4 +3,4 @@ echo "Running unittests..." source activate hosts -nosetests +python testUpdateHostsFile.py diff --git a/readme_template.md b/readme_template.md index 2bc9425e2..bb8df9160 100644 --- a/readme_template.md +++ b/readme_template.md @@ -12,10 +12,6 @@ To run unit tests, in the top level directory, just run: python testUpdateHostsFile.py -You can also install `nose` with `pip` and then just run: - - nosetests - **Note** if you are using Python 2, you must first install the `mock` library: pip install mock