This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I've developed an unreasonable preference for helper functions over mutable | |
# variables. It turns out that there's one good reason why. This version of the | |
# code shows full code coverage. | |
topics = [] | |
if part_of_a_group: | |
topics = collected_works() | |
publish(topics) | |
# In this version of the code, the coverage tool shows that the "false" branch |