New submission from Maxime Belanger <m...@dropbox.com>:

We have plenty of tests calling into `os.path.*` functions, and as Python 3.6+ 
gets more stringent about checking for `os.PathLike` compliance, it would 
greatly simplify our lives for `MagicMock` to support `__fspath__`.

----------
components: Library (Lib)
messages: 328014
nosy: Maxime Belanger
priority: normal
severity: normal
status: open
title: MagicMock should support `__fspath__`
type: enhancement
versions: Python 3.7, Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35022>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to