Extend the `stub()` functions so that non-callables can be stubbed. This is helpful for changing constants during a test.
Extend the
stub()functions so that non-callables can be stubbed. This is helpful for changing constants during a test.