Skip to content

Commit 1d77a49

Browse files
author
Matthias Koeppe
committed
Fix # needs
1 parent 899fdf7 commit 1d77a49

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/sage/groups/matrix_gps/finitely_generated.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,9 @@ def QuaternionMatrixGroupGF3():
160160
elements commonly called `I` and `J`, while `K`
161161
is the product of `I` and `J`. ::
162162
163-
sage: # needs sage.libs.gap
164163
sage: from sage.groups.matrix_gps.finitely_generated import QuaternionMatrixGroupGF3
164+
165+
sage: # needs sage.libs.gap
165166
sage: Q = QuaternionMatrixGroupGF3()
166167
sage: Q.order()
167168
8
@@ -177,7 +178,7 @@ def QuaternionMatrixGroupGF3():
177178
178179
TESTS::
179180
180-
sage: groups.matrix.QuaternionGF3() # needs sage.modules
181+
sage: groups.matrix.QuaternionGF3()
181182
Matrix group over Finite Field of size 3 with 2 generators (
182183
[1 1] [2 1]
183184
[1 2], [1 1]

src/sage/libs/gap/libgap.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ class Gap(Parent):
363363
We gracefully handle the case that the conversion fails (:trac:`18039`)::
364364
365365
sage: F.<a> = GF(9, modulus="first_lexicographic") # needs sage.rings.finite_rings
366-
sage: libgap(Matrix(F, [[a]]))
366+
sage: libgap(Matrix(F, [[a]])) # needs sage.rings.finite_rings
367367
Traceback (most recent call last):
368368
...
369369
NotImplementedError: conversion of (Givaro) finite field element to GAP

0 commit comments

Comments
 (0)