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

divmod() support for complex args and wrong number of args #544

Merged
merged 1 commit into from
May 25, 2017

Conversation

njvrzm
Copy link
Contributor

@njvrzm njvrzm commented May 24, 2017

No description provided.

@@ -8,27 +8,6 @@ class DivmodTests(TranspileTestCase):
class BuiltinDivmodFunctionTests(BuiltinFunctionTestCase, TranspileTestCase):
functions = ["divmod"]

not_implemented = [
Copy link
Member

Choose a reason for hiding this comment

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

All these tests just work? Huh... That's... suspicious? Maybe that's true! If so, wow!

Copy link
Member

Choose a reason for hiding this comment

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

Makes sense, though - if the error message has been corrected, then most of these will have been failing because the message was wrong.

@njvrzm
Copy link
Contributor Author

njvrzm commented May 25, 2017

They didn't work until I fixed the exception string! But that seems to have been all they needed.

@@ -8,27 +8,6 @@ class DivmodTests(TranspileTestCase):
class BuiltinDivmodFunctionTests(BuiltinFunctionTestCase, TranspileTestCase):
functions = ["divmod"]

not_implemented = [
Copy link
Member

Choose a reason for hiding this comment

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

Makes sense, though - if the error message has been corrected, then most of these will have been failing because the message was wrong.

@freakboy3742 freakboy3742 merged commit c5f6965 into beeware:master May 25, 2017
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.

None yet

3 participants