Skip to content

Commit

Permalink
Update test_testing.py
Browse files Browse the repository at this point in the history
  • Loading branch information
innerlee committed May 1, 2021
1 parent 9244292 commit a1d104b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_utils/test_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def test_check_python_script(capsys):
mmcv.utils.check_python_script('./tests/data/scripts/hello.py zz')
captured = capsys.readouterr().out
assert captured == 'hello zz!\n'
mmcv.utils.check_python_script('./tests/data/scripts/hello.py lizz')
mmcv.utils.check_python_script('./tests/data/scripts/hello.py agent')
captured = capsys.readouterr().out
assert captured == 'hello agent!\n'
# Make sure that wrong cmd raises an error
Expand Down

0 comments on commit a1d104b

Please sign in to comment.