Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Move src/test_utils.jl and test/test_util.jl to DynamicPPLTestExt #718

Closed
wants to merge 2 commits into from

Conversation

penelopeysm
Copy link
Member

@penelopeysm penelopeysm commented Nov 20, 2024

Closes #550 and also takes a step towards TuringLang/Turing.jl#2307

WIP, I'm expect this to cause lots of breakage.

This is a breaking change due to the different import path for TestUtils.

I intend to further split TestExt up into smaller files, not sure if that will be part of this PR or not.

@penelopeysm penelopeysm force-pushed the py/testext branch 2 times, most recently from 6965948 to 9d8d048 Compare November 20, 2024 14:05
@penelopeysm
Copy link
Member Author

penelopeysm commented Nov 20, 2024

Rightttt, I forgot that you can't namespace things inside extensions. Unless you declare a function inside src/ that has no implementation and then make a new method for it in the extension. 🙄

I thought that this would make it easier to tackle TuringLang/Turing.jl#2307, apparently not. So I'll just refactor the existing code in src/test_utils.

@penelopeysm penelopeysm deleted the py/testext branch November 24, 2024 03:31
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.

Move TestUtils to an extension
1 participant