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

DM-36071: Deprecate kernelSize and switch to stampSize #16

Merged
merged 7 commits into from Oct 14, 2022

Conversation

arunkannawadi
Copy link
Member

No description provided.

@arunkannawadi arunkannawadi force-pushed the tickets/DM-36071 branch 2 times, most recently from 5cdd30a to a1c11f4 Compare October 11, 2022 20:42
@arunkannawadi arunkannawadi marked this pull request as ready for review October 11, 2022 20:51
@@ -360,6 +365,27 @@ def testValidateGalsimInterpolant(self):
self.assertTrue(_validateGalsimInterpolant(f"galsim.{interp}"))
self.assertTrue(eval(f"galsim.{interp}"))

def testKernelSize(self): # TODO: Remove this test in DM-36311.
warnings.filterwarnings("ignore", category=FutureWarning)
Copy link
Member

Choose a reason for hiding this comment

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

I think you can do with with a with self.assertWarns: block, which will both check that the warning appears and make sure the warnings filter is disabled properly at the end.

@arunkannawadi arunkannawadi force-pushed the tickets/DM-36071 branch 3 times, most recently from 59e90d4 to d4382c5 Compare October 13, 2022 13:32
@arunkannawadi arunkannawadi merged commit 6bf3c73 into main Oct 14, 2022
@arunkannawadi arunkannawadi deleted the tickets/DM-36071 branch October 14, 2022 02:23
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.

None yet

2 participants