Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
More # optional - r
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Mar 7, 2021
1 parent b7c1576 commit ce3b35f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/sage/repl/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,9 @@ def system_raw(self, cmd):
sage: shell.system_raw('true')
sage: shell.user_ns['_exit_code']
0
sage: shell.system_raw('R --version')
sage: shell.system_raw('R --version') # optional - r
R version ...
sage: shell.user_ns['_exit_code']
sage: shell.user_ns['_exit_code'] # optional - r
0
sage: shell.quit()
"""
Expand Down
8 changes: 4 additions & 4 deletions src/sage/tests/cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,12 +574,12 @@ def test_executable(args, input="", timeout=100.0, pydebug_ignore_warnings=False
sage: ret
0
sage: (out, err, ret) = test_executable(["sage", "--R", "--version"])
sage: out.find("R version ") >= 0
sage: (out, err, ret) = test_executable(["sage", "--R", "--version"]) # optional - r
sage: out.find("R version ") >= 0 # optional - r
True
sage: err
sage: err # optional - r
''
sage: ret
sage: ret # optional - r
0
sage: (out, err, ret) = test_executable(["sage", "--sqlite3", "--version"])
Expand Down

0 comments on commit ce3b35f

Please sign in to comment.