New submission from Vajrasky Kok:

We can run the whole asyncio tests by using this command:
./python -m test.test_asyncio

But this way depends on the Lib/test/test_asyncio/tests.txt which contains all 
the tests that need to be executed. The problem is the core developer may 
forget to modify the tests.txt if he/she wants to add new test in asyncio test 
suite. Guido may not forget about it. But Victor forgot to modify the tests.txt 
when he added test_subprocess.py in asyncio tests suite.

So the proposed patch removes dependency on tests.txt file. When core 
developers add new test in asyncio tests suite, they just need to add the new 
file in test_asyncio directory itself. This patch was inspired by 
Lib/test/test_json/__init__.py.

----------
components: Tests
files: automatic_find_tests_inside_asyncio_test_suite.patch
keywords: patch
messages: 211477
nosy: gvanrossum, haypo, vajrasky
priority: normal
severity: normal
status: open
title: Remove dependency on tests.txt when running test_asyncio suite
type: behavior
versions: Python 3.4
Added file: 
http://bugs.python.org/file34129/automatic_find_tests_inside_asyncio_test_suite.patch

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

Reply via email to