mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2024-11-23 13:09:49 +00:00
9f270dce4a
When all versions, do less, but do the run tests. Overall overall better. Get rid of the tests that were the most problematic with hypothesis. Hypothesis just doesn't run on enough versions and needs specific versions for things we do use
12 lines
296 B
Makefile
12 lines
296 B
Makefile
PHONY=check test pytest
|
|
SHELL=/bin/bash
|
|
|
|
PYTHON ?= python
|
|
|
|
#: Run all tests
|
|
test check pytest:
|
|
@PYTHON_VERSION=`$(PYTHON) -V 2>&1 | cut -d ' ' -f 2 | cut -d'.' -f1,2`; \
|
|
if [[ $$PYTHON_VERSION > 3.2 ]] || [[ $$PYTHON_VERSION == 2.7 ]] || [[ $$PYTHON_VERSION == 2.6 ]]; then \
|
|
py.test; \
|
|
fi
|