Skip to content

Commit 9d3afb0

Browse files
authored
Merge pull request cms-sw#33991 from davidlange6/dl210606
change python2 to python3 in a few unit tests
2 parents f113f4d + 6901198 commit 9d3afb0

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

PhysicsTools/PythonAnalysis/test/BuildFile.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
<test name="import-argparse" command="python3 -c 'import argparse'"/>
4343
<test name="import-autopep8" command="python3 -c 'import autopep8'"/>
4444
<test name="import-avro" command="python3 -c 'import avro'"/>
45-
<test name="import-backports_abc" command="python3 -c 'import backports_abc'"/>
4645
<test name="import-backports.lzma" command="python3 -c 'import backports.lzma'"/>
4746
<test name="import-backports.ssl_match_hostname" command="python3 -c 'import backports.ssl_match_hostname'"/>
4847
<test name="import-bleach" command="python3 -c 'import bleach'"/>
@@ -89,7 +88,6 @@
8988
<test name="import-notebook" command="python3 -c 'import notebook'"/>
9089
<test name="import-numexpr" command="python3 -c 'import numexpr'"/>
9190
<test name="import-numpy" command="python3 -c 'import numpy'"/>
92-
<test name="import-ordereddict" command="python2 -c 'import ordereddict'"/>
9391
<test name="import-packaging" command="python3 -c 'import packaging'"/>
9492
<test name="import-pandas" command="python3 -c 'import pandas'"/>
9593
<test name="import-pandocfilters" command="python3 -c 'import pandocfilters'"/>

PhysicsTools/PythonAnalysis/test/testXGBoost_and_sklearn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# from https://gist.github.com/IevaZarina/ef63197e089169a9ea9f3109058a9679
33

44
from __future__ import print_function

PhysicsTools/PythonAnalysis/test/test_pycurl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
import pycurl
33
c = pycurl.Curl()
44
c.setopt(c.URL, 'https://cmssdt.cern.ch/SDT/')

0 commit comments

Comments
 (0)