Skip to content

Commit

Permalink
src/sage/features/__init__.py: Replace uses of absolute_path in doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Jun 8, 2024
1 parent f7b1065 commit 6b7cf25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/features/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ class FileFeature(Feature):
To work with the file described by the feature, use the method :meth:`absolute_filename`.
A :class:`FeatureNotPresentError` is raised if the file cannot be found::
sage: Executable(name="does-not-exist", executable="does-not-exist-xxxxyxyyxyy").absolute_path()
sage: Executable(name="does-not-exist", executable="does-not-exist-xxxxyxyyxyy").absolute_filename()
Traceback (most recent call last):
...
sage.features.FeatureNotPresentError: does-not-exist is not available.
Expand Down Expand Up @@ -737,7 +737,7 @@ def absolute_filename(self) -> str:
A :class:`FeatureNotPresentError` is raised if the file cannot be found::
sage: Executable(name="does-not-exist", executable="does-not-exist-xxxxyxyyxyy").absolute_path()
sage: Executable(name="does-not-exist", executable="does-not-exist-xxxxyxyyxyy").absolute_filename()
Traceback (most recent call last):
...
sage.features.FeatureNotPresentError: does-not-exist is not available.
Expand Down

0 comments on commit 6b7cf25

Please sign in to comment.