Skip to content

Commit 6b7cf25

Browse files
author
Matthias Koeppe
committed
src/sage/features/__init__.py: Replace uses of absolute_path in doctests
1 parent f7b1065 commit 6b7cf25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/features/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ class FileFeature(Feature):
605605
To work with the file described by the feature, use the method :meth:`absolute_filename`.
606606
A :class:`FeatureNotPresentError` is raised if the file cannot be found::
607607
608-
sage: Executable(name="does-not-exist", executable="does-not-exist-xxxxyxyyxyy").absolute_path()
608+
sage: Executable(name="does-not-exist", executable="does-not-exist-xxxxyxyyxyy").absolute_filename()
609609
Traceback (most recent call last):
610610
...
611611
sage.features.FeatureNotPresentError: does-not-exist is not available.
@@ -737,7 +737,7 @@ def absolute_filename(self) -> str:
737737
738738
A :class:`FeatureNotPresentError` is raised if the file cannot be found::
739739
740-
sage: Executable(name="does-not-exist", executable="does-not-exist-xxxxyxyyxyy").absolute_path()
740+
sage: Executable(name="does-not-exist", executable="does-not-exist-xxxxyxyyxyy").absolute_filename()
741741
Traceback (most recent call last):
742742
...
743743
sage.features.FeatureNotPresentError: does-not-exist is not available.

0 commit comments

Comments
 (0)