If I’m not mistaken, the sentence on page 68 “We’ve just changed the way pytest fills in the value for initial_state
every time the test gets called.” should change initial_state
to start_state
as the latter is what’s actually being used in the test function while the former doesn’t seem to appear anywhere else in the book.
Nice catch.