Closed Bug 1551550 Opened 6 years ago Closed 5 years ago

'No tests collected' running 'mach python-test' in Python 3

Categories

(Testing :: General, defect, P3)

Version 3
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: saschanaz, Assigned: gbrown)

Details

(Whiteboard: dev-prod-2020)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

./mach python-test --python 3.6 python/mach
./mach python-test --python 3.6 testing/mozbase/manifestparser

Actual results:

running build_ext
copying build/lib.linux-x86_64-3.6/psutil/_psutil_linux.cpython-36m-x86_64-linux-gnu.so -> psutil
copying build/lib.linux-x86_64-3.6/psutil/_psutil_posix.cpython-36m-x86_64-linux-gnu.so -> psutil

Error processing command. Ignoring because optional. (optional:packages.txt:comm/build/virtualenv_packages.txt)
0:14.83 TEST-UNEXPECTED-FAIL | No tests collected (Not in PYTHON_UNITTEST_MANIFESTS?)

Expected results:

Tests should run as in Python 2.7

Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Summary: 'No tests collected' in Python 3 → 'No tests collected' running 'mach python-test' in Python 3
Whiteboard: dev-prod-2020

These work for me now (python 3.6 on Ubuntu 18.04). Please re-open if you are still having trouble.

Assignee: nobody → gbrown
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.