taichi-dev/taichi

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

Open

#1,119 opened on 2020年6月3日

GitHub で見る
 (5 comments) (0 reactions) (1 assignee)C++ (2,384 forks)batch import
good first issuepotential bugpython

Repository metrics

Stars
 (28,195 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド