taichi-dev/taichi

[misc] python tests error that doesn't affect program execution

Open

#1119 aperta il 3 giu 2020

Vedi su GitHub
 (5 commenti) (0 reazioni) (1 assegnatario)C++ (2384 fork)batch import
good first issuepotential bugpython

Metriche repository

Star
 (28.195 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Describe the bug When running ti test, the main program throws an error saying that it is unable to recognize the argument -n1

Log/Screenshots

Running python tests...

ERROR: usage: ti [options] [file_or_dir] [file_or_dir] [...] ti: error: unrecognized arguments: -n1 inifile: None rootdir: /home/peiyuanl/taichi_dev/taichi

========================================================== test session starts =========================================================== platform linux -- Python 3.7.6, pytest-5.4.2, py-1.8.1, pluggy-0.13.1 rootdir: [omitted] plugins: xdoctest-0.12.0, cov-2.9.0

(the test successfully completed)

To Reproduce

Run ti test after correct setup and compilation on Ubuntu 16.04

Guida contributor