Skip to content

Conversation

@nfelt
Copy link
Contributor

@nfelt nfelt commented Feb 1, 2022

This updates plugin_event_accumulator_test.py to use real mocking (aka unittest.mock) rather than hand-written monkey-patching. This simplifies the logic, and makes it robust to changes in the arguments that are propagated from the accumulator to the underlying generator (since we're ignoring all the arguments in the mocks anyway).

This is pre-work for #5530.

@nfelt nfelt merged commit 7154c60 into master Feb 1, 2022
@nfelt nfelt deleted the nfelt-filereplace-3 branch February 1, 2022 16:53
yatbear pushed a commit to yatbear/tensorboard that referenced this pull request Mar 27, 2023
dna2github pushed a commit to dna2fork/tensorboard that referenced this pull request May 1, 2023
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