@pkw It can definitely feel a little weird ... but it's hard to get some of the other very-useful fixture features (module/session scoping, parametrization, ..) with other mechanisms. It's also nice and short (although of course you need to "know" pytest to read the code)
The command-line library Click also does something a little similar with the option decorators (i.e. "magically" maps names)