taichi-dev/taichi

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

Open

#1,119 建立於 2020年6月3日

在 GitHub 查看
 (5 留言) (0 反應) (1 負責人)C++ (2,384 fork)batch import
good first issuepotential bugpython

倉庫指標

Star
 (28,195 star)
PR 合併指標
 (30 天內沒有已合併 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

貢獻者指南