-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Misc doctest and pytrest fixes (#1066)
Fix some doctest and pytest bugs... test.parameters.{doc_even_if_error,keep_going}: * `doc_even_if_error` is not defined; `keep_going is`. mathics/docpipeline.py: * remove find_texdata_folder(): it is not used and it also refers to a nonexistent class element * `test_case(... fail: Optional[]...= ...)` allows an explicit None to be passed. `None` was not tested for in using ` fail()`. Make parameter not optional * call to doctest_pripile.print_and_log missing f-string specifier. Not sure why we need the for loop. * start_time needs to be initialized test/builtin/files_io/test_importexport.py: * test was pollutes local file system with `123.txt`. Ideally *None* of the tests would work in the local filesystem; a _temporary_ file system is okay though.
- Loading branch information
Showing
2 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters