Skip to content

Commit

Permalink
Do not check output in doctest
Browse files Browse the repository at this point in the history
Will still verify that code does not error.
  • Loading branch information
zundertj authored and ritchie46 committed Jan 7, 2022
1 parent c85f4e3 commit cd06191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/tests/run_doc_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def modules_in_path(p: Path) -> Generator:

if __name__ == "__main__":
# set to True to just run the code, and do not check any output. Will still report errors if the code is invalid
IGNORE_RESULT_ALL = False
IGNORE_RESULT_ALL = True

# Below the implementation if the IGNORE_RESULT directive
# You can ignore the result of a doctest by adding "doctest: +IGNORE_RESULT" into the code block
Expand Down

0 comments on commit cd06191

Please sign in to comment.