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

Commit 8732076

Browse files
author
Matthias Koeppe
committed
src/sage/repl/ipython_tests.py: Mark R interface tests # optional - rpy2
1 parent b2d4ab8 commit 8732076

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/sage/repl/ipython_tests.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@
4646
4747
Next, test the ``pinfo`` magic for ``R`` interface code, see :trac:`26906`::
4848
49-
sage: from sage.repl.interpreter import get_test_shell
50-
sage: shell = get_test_shell()
51-
sage: shell.run_cell(u'%pinfo r.lm')
49+
sage: from sage.repl.interpreter import get_test_shell # optional - rpy2
50+
sage: shell = get_test_shell() # optional - rpy2
51+
sage: shell.run_cell(u'%pinfo r.lm') # optional - rpy2
5252
Signature: r.lm(...*args, **kwds)
5353
...
5454
String form: lm
@@ -122,9 +122,9 @@ def __cinit__(self):
122122
123123
Next, test the ``pinfo2`` magic for ``R`` interface code, see :trac:`26906`::
124124
125-
sage: from sage.repl.interpreter import get_test_shell
126-
sage: shell = get_test_shell()
127-
sage: shell.run_cell(u'%pinfo2 r.lm')
125+
sage: from sage.repl.interpreter import get_test_shell # optional - rpy2
126+
sage: shell = get_test_shell() # optional - rpy2
127+
sage: shell.run_cell(u'%pinfo2 r.lm') # optional - rpy2
128128
Signature: r.lm(...*args, **kwds)
129129
...
130130
String form: lm

0 commit comments

Comments
 (0)