Remove Python 2 tests

This commit is contained in:
Oleg Kalachev
2024-04-11 01:55:30 +03:00
parent 0e2f1b9ac1
commit 2d8ac74f8d
3 changed files with 1 additions and 12 deletions

View File

@@ -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

View File

@@ -6,7 +6,6 @@ set -ex
# validate required software is installed
python2 --version
python3 --version
ipython3 --version
@@ -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

View File

@@ -1,8 +0,0 @@
#!/usr/bin/env python3
# Make sure our Python 3 software is installed
import cv2
from pyzbar import pyzbar
print(cv2.getBuildInformation())