Skip to content
This repository has been archived by the owner on May 31, 2020. It is now read-only.

Fixed oct() builtin error handling - all test cases now pass #750

Merged
merged 1 commit into from
May 17, 2018

Conversation

nicklambourne
Copy link
Contributor

Changes

Added correct TypeError reporting for incorrect use of oct() builtin. All incorrect argument types now throw TypeErrors with python-compliant error messages.

Problem

Error handling for unsupported types passed to the builtin oct() method was not python-compliant.

Fixes

Contributes to fixing #47

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

Copy link
Member

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

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

👍

@freakboy3742 freakboy3742 merged commit 9a8fea8 into beeware:master May 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants