Remove usage of {' '} in docs and tests

Fixes #1136.
With this and #1156, there's now no more {' '} in the codebase.