﻿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
28452	Consider adding a test command argument --locals to show traceback locals	David Sanders	nobody	"I'd like to suggest adding an argument to the test command, `--locals`, that simply passes `tb_locals=True` to `unittest.TextTestRunner()`.

Currently it looks as though support for adding custom test runner kwargs was improved in 1.11 with ticket #26981 whereby one can provide a custom test runner and override `get_test_runner_kwargs()` however I think it would be nice to be able to examine locals without having to setup a custom test runner.

Please note that the `tb_locals` argument was introduced in Python 3.5, so this would need to be taken into consideration."	New feature	new	Testing framework	dev	Normal			Ülgen Sarıkavak	Someday/Maybe	0	0	0	0	0	0
