taichi-dev/taichi

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

Open

#1,119 opened on Jun 3, 2020

View on GitHub
 (5 comments) (0 reactions) (1 assignee)C++ (28,195 stars) (2,384 forks)batch import
good first issuepotential bugpython

Description

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

Contributor guide