Skip to content

Conversation

@corona10
Copy link
Member

@corona10corona10 commented Nov 6, 2024

@bedevere-appbedevere-appbot added tests Tests in the Lib/test dir awaiting core review labels Nov 6, 2024
@corona10corona10 changed the title gh-115999: Move specialier test to test_opcachegh-115999: Move specializer test to test_opcacheNov 6, 2024
@corona10corona10 changed the title gh-115999: Move specializer test to test_opcachegh-115999: Move specializer test from test_dis to test_opcacheNov 6, 2024
@corona10
Copy link
MemberAuthor

Motivation: #126450 (comment)

self.assertFalse(3inb)

f()
self.assert_specialized(f, "CONTAINS_OP_DICT")
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

In the future, if the opcodes become more complex, we may need to count how many specific opcodes have occurred.

Copy link
Member

@markshannonmarkshannon left a comment

Choose a reason for hiding this comment

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

Thanks.

We have a lot of tests in test_dis that need to be moved elsewhere. Every test moved helps.

Copy link
Contributor

@mpagempage left a comment

Choose a reason for hiding this comment

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

LGTM!

@corona10corona10 merged commit e56fd44 into python:mainNov 6, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@corona10@mpage@markshannon