Skip to content

Commit

Permalink
Remove Python 2 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
okalachev committed Apr 10, 2024
1 parent 0e2f1b9 commit 2d8ac74
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion builder/image-validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ systemctl start roscore
cd /home/pi/catkin_ws/src/clover/builder/test/
./tests.sh
./tests.py
./tests_py3.py
[[ $(./test_qr.py) == "Found QRCODE with data Проверка Unicode with center at x=66.0, y=66.0" ]]
[[ $(./tests_clever.py) == "Warning: clever package is renamed to clover" ]] # test backwards compatibility

Expand Down
4 changes: 1 addition & 3 deletions builder/test/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ set -ex

# validate required software is installed

python2 --version
python3 --version
ipython3 --version

Expand All @@ -30,8 +29,7 @@ if [ -z $VM ]; then
python --version
ipython --version
pip2 --version
# `python` is python2 for now
[[ $(python -c 'import sys;print(sys.version_info.major)') == "2" ]]
[[ $(python -c 'import sys;print(sys.version_info.major)') == "3" ]]

# ptvsd does not have a stand-alone binary
python -m ptvsd --version
Expand Down
8 changes: 0 additions & 8 deletions builder/test/tests_py3.py

This file was deleted.

0 comments on commit 2d8ac74

Please sign in to comment.