﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
17393	Test runner should exclude __pycache__ directories	Ian Clelland	nobody	"Beginning with Python 3.2, the Python runtime now stores .pyc files in a subdirectory named `__pycache__`, rather than alongside their counterpart .py sources. These directories are created automatically any time that the code is imported in a Python3.2+ environment.

The test runner needs to explicitly ignore those directories when searching for tests, as it does with hidden files and directories, __init__.py files, and dirs named 'sql'. Currently, the full (auto-discovered) test suite will not run after tests have been run with Python 3.

This may have implications for other auto discovery mechanisms as well.

Reference: http://www.python.org/dev/peps/pep-3147/"	Bug	closed	Testing framework	dev	Normal	fixed	Testing Python3 pycache		Accepted	1	0	0	0	0	0
