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

Commit

Permalink
Test more cases in derivation doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
saraedum committed Jan 27, 2017
1 parent 14e61dd commit 7d8f22a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sage/rings/function_field/maps.py
Expand Up @@ -196,7 +196,7 @@ class FunctionFieldDerivation_separable(FunctionFieldDerivation):
sage: K.<x> = FunctionField(QQ)
sage: R.<y> = K[]
sage: L.<y> = K.extension(y^2 - x)
sage: L.<y> = K.extension(y^3 - x)
sage: d = L.derivation()
"""
Expand Down Expand Up @@ -242,14 +242,14 @@ def _call_(self, x):
sage: K.<x> = FunctionField(QQ)
sage: R.<y> = K[]
sage: L.<y> = K.extension(y^2 - x)
sage: L.<y> = K.extension(y^3 - x^2)
sage: d = L.derivation()
sage: d(x) # indirect doctest
1
sage: d(y)
(-1/2/-x)*y
(-2/3/-x)*y
sage: d(y^2)
1
(-4/3/-x)*y^2
"""
if x.is_zero():
Expand Down

0 comments on commit 7d8f22a

Please sign in to comment.