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

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez committed Nov 12, 2020
1 parent eceefb3 commit d345bff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ def _get_shared_lib_path(libname, *additional_libnames) -> Optional[str]:
sage: if sys.platform == 'cygwin':
....: pattern = "*/cygSingular-*.dll"
....: elif sys.platform == 'darwin':
....: pattern = "*/libSingular.dylib"
....: pattern = "*/libSingular-*.dylib"
....: else:
....: pattern = "*/lib*Singular.so"
....: pattern = "*/lib*Singular-*.so"
sage: fnmatch(str(lib_filename), pattern)
True
sage: _get_shared_lib_path("an_absurd_lib") is None
Expand Down

0 comments on commit d345bff

Please sign in to comment.