Skip to content

Conversation

aisk
Copy link
Member

@aisk aisk commented Aug 23, 2025

Also changed this function's argument parsing to using Argument Clinic.

m = mmap.mmap(f.fileno(), PAGESIZE * 3)
self.addCleanup(m.close)

m.flush()
Copy link
Member

Choose a reason for hiding this comment

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

flush can raise on some platforms, let's skip this test if this happens.

Copy link
Member Author

Choose a reason for hiding this comment

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

Hi, I see other test call flush directly:

m.flush()
, so I think there are nothing special to do here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants