r47291 - fix
hawkowl-TA+aISz0psMTMxyoc4vAAJOcrHinNvQL0E9HWUfgJXw@public.gmane.org Sun, 17 Apr 2016 21:17:00 -0600 (MDT)
| Newsgroups | gmane.comp.python.twisted.commits |
|---|---|
| Message-ID | <[email protected]> |
Author: hawkowl
Date: Sun Apr 17 21:16:56 2016
New Revision: 47291
Modified:
branches/cov-subprocess-8266-2/twisted/test/test_process.py
Log:
fix
Modified: branches/cov-subprocess-8266-2/twisted/test/test_process.py
==============================================================================
--- branches/cov-subprocess-8266-2/twisted/test/test_process.py (original)
+++ branches/cov-subprocess-8266-2/twisted/test/test_process.py Sun Apr 17 21:16:56 2016
@@ -2367,12 +2367,12 @@
Test C{os.environ} (inherited by every subprocess on Windows) that
contains an ascii-encodable Unicode string. This is different from
passing Unicode environment explicitly to spawnProcess (which is not
- supported).
+ supported on Python 2).
"""
os.environ[self.goodKey] = self.goodValue
self.addCleanup(operator.delitem, os.environ, self.goodKey)
- p = GetEnvironmentDictionary.run(reactor, [], {})
+ p = GetEnvironmentDictionary.run(reactor, [], properEnv)
def gotEnvironment(environ):
self.assertEqual(
environ[self.goodKey.encode('ascii')],