Testing, Python, Unit Testing, Automation.
correctly points out that this code is simply wrong if called on an empty string. If we fix that by just adding the following code to the beginning of the function then Hypothesis tells us the code is correct (by doing nothing as you’d expect a passing test to). if not input_string: return [] If we