Skip to content

[smart_holder] Add test_namespace_visibility #4050

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 11 commits into from
Jul 13, 2022

Conversation

rwgk
Copy link
Collaborator

@rwgk rwgk commented Jul 8, 2022

Description

To probe environment/toolchain/platform-specific behavior under the exact same conditions as normal tests.

(An earlier version of this code was used to inform PR #4043.)

Suggested changelog entry:

To probe environment/toolchain/platform-specific behavior under the exact same conditions as normal tests.

(An earlier version of this code was used to inform PR pybind#4043.)
@rwgk rwgk changed the title Add test_namespace_visibility [smart_holder] Add test_namespace_visibility Jul 8, 2022
Copy link

@charlesbeattie charlesbeattie left a comment

Choose a reason for hiding this comment

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

Comments are all nit-picks so please ignore if you want.

@@ -0,0 +1,31 @@
// Copyright (c) 2022 The Pybind Development Team.

Choose a reason for hiding this comment

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

Should this have a different extension.
I use .inc for files that are not normal header files others use .inl

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changed to .inl:
pre-commit run --all-files clang-format did not pick up the .inc file, but it does pick up .inl without any changes elsewhere.
(A also tested this Google-internally with .inl and it worked immediately, too.)

@rwgk rwgk marked this pull request as ready for review July 13, 2022 00:58
@rwgk rwgk requested a review from henryiii as a code owner July 13, 2022 00:58
@rwgk rwgk merged commit 203cc26 into pybind:smart_holder Jul 13, 2022
@rwgk rwgk deleted the probe_namespace_visibility_sh branch July 13, 2022 01:34
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Jul 13, 2022
@rwgk rwgk removed the needs changelog Possibly needs a changelog entry label Jul 13, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants