[issue32964] Reuse a testing implementation of the path protocol in tests

2018-03-03 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32964] Reuse a testing implementation of the path protocol in tests

2018-03-03 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset fbdd075c64a5229dfa26632cf1b2cf2361dc5003 by Serhiy Storchaka in 
branch '3.6':
[3.6] bpo-32964: Reuse a testing implementation of the path protocol in tests. 
(GH-5930). (GH-5958)
https://github.com/python/cpython/commit/fbdd075c64a5229dfa26632cf1b2cf2361dc5003


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32964] Reuse a testing implementation of the path protocol in tests

2018-03-02 Thread miss-islington

miss-islington  added the comment:


New changeset a13b65422a1078104e9f53ad41945ea380a80798 by Miss Islington (bot) 
in branch '3.7':
bpo-32964: Reuse a testing implementation of the path protocol in tests. 
(GH-5930)
https://github.com/python/cpython/commit/a13b65422a1078104e9f53ad41945ea380a80798


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32964] Reuse a testing implementation of the path protocol in tests

2018-03-02 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
pull_requests: +5725

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32964] Reuse a testing implementation of the path protocol in tests

2018-03-02 Thread miss-islington

Change by miss-islington :


--
pull_requests: +5724

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32964] Reuse a testing implementation of the path protocol in tests

2018-03-02 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:


New changeset b21d155f57d284aecf9092a9bd24258293965c2f by Serhiy Storchaka in 
branch 'master':
bpo-32964: Reuse a testing implementation of the path protocol in tests. (#5930)
https://github.com/python/cpython/commit/b21d155f57d284aecf9092a9bd24258293965c2f


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32964] Reuse a testing implementation of the path protocol in tests

2018-02-28 Thread Brett Cannon

Brett Cannon  added the comment:

FakePath? Otherwise SimplePath seems as good a name as any other one.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32964] Reuse a testing implementation of the path protocol in tests

2018-02-27 Thread Serhiy Storchaka

Change by Serhiy Storchaka :


--
keywords: +patch
pull_requests: +5702
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32964] Reuse a testing implementation of the path protocol in tests

2018-02-27 Thread Serhiy Storchaka

New submission from Serhiy Storchaka :

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com