Skip to content

Fix test_methoddispatch.test_missing_value#1487

Merged
slozier merged 1 commit intoIronLanguages:masterfrom
slozier:test_methoddispatch
May 31, 2022
Merged

Fix test_methoddispatch.test_missing_value#1487
slozier merged 1 commit intoIronLanguages:masterfrom
slozier:test_methoddispatch

Conversation

@slozier
Copy link
Copy Markdown
Contributor

@slozier slozier commented May 31, 2022

test_methoddispatch.test_missing_value used enums with multiple values which could match the default value and so there was ambiguity as to what the value ToString could be. For example, the test could fail depending on the implementation because ((EnumByte)0).ToString() could be either MinByte (Mono and .NET 7) or Zero (other runtimes).

See IronLanguages/ironpython2#62

@slozier slozier merged commit 073eabb into IronLanguages:master May 31, 2022
@slozier slozier deleted the test_methoddispatch branch May 31, 2022 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant