aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/tests.yml2
-rw-r--r--Makefile2
-rw-r--r--setup.py1
3 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 019007f..dcc00be 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -50,4 +50,4 @@ jobs:
if: steps.release.outputs.version == 0
run: |
pip install -e .
- python setup.py test
+ python -m unittest -v tests.suite
diff --git a/Makefile b/Makefile
index d22a859..b2d44d2 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ debug:
DEBUG_IMMUTABLES=1 $(PYTHON) setup.py build_ext --inplace
test:
- $(PYTHON) setup.py test -v
+ $(PYTHON) -m unittest -v
rtest:
~/dev/venvs/36-debug/bin/python setup.py build_ext --inplace
diff --git a/setup.py b/setup.py
index cb31d2c..590ad41 100644
--- a/setup.py
+++ b/setup.py
@@ -73,5 +73,4 @@ setuptools.setup(
provides=['immutables'],
include_package_data=True,
ext_modules=ext_modules,
- test_suite='tests.suite',
)