Skip to content

Conversation

@mbyrnepr2
Copy link
Contributor

gh-109861: Fix a doctest in Lib/_pydecimal.py which was failing when run directly on the module via the command:
./python.exe -m doctest Lib/_pydecimal.py.

directly on the module via the command:
``./python.exe -m doctest Lib/_pydecimal.py``.

Co-authored-by: Sergey B Kirpichev <[email protected]>
Copy link
Contributor

@skirpichev skirpichev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should stick with your solution for _pydecimal.py. It's more local.

require the ``InvalidOperation`` trap to be ``False``.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants