Skip to content

Commit

Permalink
!squash missing docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Feb 2, 2024
1 parent ad609ca commit cef83bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pytest_doctest_docutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ def _get_flag_lookup() -> t.Dict[str, int]:


def get_optionflags(config: pytest.Config) -> int:
"""Fetch optionflags from pytest configuration.
Extracted from pytest.doctest 8.0 (license: MIT).
"""
optionflags_str = str(config.getini("doctest_optionflags"))
flag_lookup_table = _get_flag_lookup()
flag_acc = 0
Expand Down

0 comments on commit cef83bd

Please sign in to comment.