mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
* Disable Linkchecker Test. * Switch to unittest.mock in standard lib. * Apply `pyupgrade --py3-plus`. * Note: Using `builtins.open` mocks all calls to `open`, including test setup (such as in `load_config`). Whereas, `path.to.namespace.open` only mocks `open` in that namepsace. This all worked differently when we used `io.open` as that wasn't a builtin to begin with. * Add a helpful error msg for PY2 users who use non-standard install methods. Closes #1926.