New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:

In a number of tests there are simple implementations of the path protocol. 
Unlike to pathlib.Path they implement only necessary minimum of methods. The 
proposed PR moves this implementation into test.support. It also fixes some 
misuses of it.

I have named it SimplePath. Are there better ideas? PathLike was rejected due 
to possible confusion with os.PathLike.

----------
components: Tests
messages: 313018
nosy: brett.cannon, ezio.melotti, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Reuse a testing implementation of the path protocol in tests
type: enhancement
versions: Python 3.6, Python 3.7, Python 3.8

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

Reply via email to