Skip to content

Enable test_numtypes#1424

Merged
slozier merged 8 commits intoIronLanguages:masterfrom
BCSharp:test_numtypes
Apr 27, 2022
Merged

Enable test_numtypes#1424
slozier merged 8 commits intoIronLanguages:masterfrom
BCSharp:test_numtypes

Conversation

@BCSharp
Copy link
Copy Markdown
Member

@BCSharp BCSharp commented Apr 27, 2022

It looks like this test has never been run on IronPython 3 before — it was still using Python 2 syntax. After upgrading, it exposed some gaps in the operators on the non-Python integers.

I am torn between enabling and not enabling this test by default. It was originally disabled because it "takes way too long". Indeed, it takes about 30 seconds on my rig, which I think means it can be some extra 3 minutes on the CI server. In the end I enabled it because I have some resolver-related tinkering planned ahead and would prefer the test to catch as much mistakes as possible.

Copy link
Copy Markdown
Contributor

@slozier slozier left a comment

Choose a reason for hiding this comment

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

Seems fine. I guess it matches the behaviour we had before (not that I necessarily like what we do).

Comment thread Tests/test_numtypes.py Outdated
@slozier slozier merged commit 72c2b5a into IronLanguages:master Apr 27, 2022
@BCSharp BCSharp deleted the test_numtypes branch April 27, 2022 21:39
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.

2 participants