diff --git a/python-biopython.spec b/python-biopython.spec index 2888de3..09d1e7d 100644 --- a/python-biopython.spec +++ b/python-biopython.spec @@ -251,8 +251,8 @@ find . -name 'run_tests.py' | xargs pathfix.py -pn -i "%{__python3}" find ../ -name '__init__.py' | xargs rm -f # See https://github.com/biopython/biopython/issues/2128; https://github.com/biopython/biopython/issues/2120 # and https://bugs.python.org/issue24214 -%if 0%{?python3_version_nodots} == 38 -echo "Skipping tests under unsupported Python 3.8" +%if 0%{?python3_version_nodots} == 310 +for test in `ls test_*.py | grep -v Nexus | grep -v Phylo | grep -v Tutorial | grep -v bgzf | grep -v SearchIO_blast | grep -v pairwise_aligner | grep -v SubsMat | grep -v motifs`; do %else for test in `ls test_*.py | grep -v Nexus | grep -v Phylo | grep -v Tutorial | grep -v bgzf | grep -v SearchIO_blast | grep -v pairwise_aligner | grep -v SubsMat`; do echo $LANG