[issue14895] test_warnings.py EnvironmentVariableTests is a bad test

Miki Tebeka report at bugs.python.org
Wed May 23 23:50:49 CEST 2012


New submission from Miki Tebeka <miki.tebeka at gmail.com>:

EnvironmentVariableTests depends on format of string representation of objects.

While working on Jython 2.7 the test failed due to:
    AssertionError: "[u'ignore::DeprecationWarning']" != "['ignore::DeprecationWarning']"

Attached is a patch to get the output of child process via marshal and also use set so order is not important.

----------
components: Tests
files: tw.diff
keywords: patch
messages: 161463
nosy: tebeka
priority: normal
severity: normal
status: open
title: test_warnings.py EnvironmentVariableTests is a bad test
type: enhancement
versions: Python 2.7
Added file: http://bugs.python.org/file25692/tw.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14895>
_______________________________________


More information about the Python-bugs-list mailing list