﻿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
23291	Putting Unicode var name and value in environment causes test suite errors on Windows/Python2	Ramiro Morales	nobody	"Running the `django_admin` tests on Windows shows errors like this one:

{{{
======================================================================
ERROR: test_noargs (admin_scripts.tests.CommandTypes)
NoArg Commands can be executed
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""D:\django\upstream\tests\admin_scripts\tests.py"", line 1498, in test_noargs
    out, err = self.run_manage(args)
  File ""D:\django\upstream\tests\admin_scripts\tests.py"", line 180, in run_manage
    return self.run_test('./manage.py', args, settings_file)
  File ""D:\django\upstream\tests\admin_scripts\tests.py"", line 149, in run_test
    env=test_environ, universal_newlines=True).communicate()
  File ""c:\Python27\lib\subprocess.py"", line 679, in __init__
    errread, errwrite)
  File ""c:\Python27\lib\subprocess.py"", line 893, in _execute_child
    startupinfo)
TypeError: environment can only contain strings
}}}

Total number of errors is 114.

Tested on a Windows 7 x86_64 system.

PR is at https://github.com/django/django/pull/3064"	Bug	closed	Core (Management commands)	dev	Normal	fixed			Accepted	1	0	0	0	0	0
