Skip to content

Commit

Permalink
Merge pull request #34473 from smuzaffar/py3-fix-PatAlgos
Browse files Browse the repository at this point in the history
PatAlgos: use python3 in unit test
  • Loading branch information
cmsbuild committed Jul 14, 2021
2 parents 57fcaf4 + 1d8b172 commit 9082188
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3

from __future__ import print_function
import ROOT
Expand Down
2 changes: 1 addition & 1 deletion PhysicsTools/PatAlgos/test/runtests.sh
Expand Up @@ -6,7 +6,7 @@ for file in ${CMSSW_BASE}/src/PhysicsTools/PatAlgos/python/tools/*.py
do
bn=`basename $file`
if [ "$bn" != "__init__.py" ]; then
python "$file" || die "unit tests for $bn failed" $?
python3 "$file" || die "unit tests for $bn failed" $?
fi
done

Expand Down

0 comments on commit 9082188

Please sign in to comment.