Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[issue14895] test_warnings.py EnvironmentVariableTests is a bad test

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


report at bugs

May 23, 2012, 2:50 PM

Post #1 of 4 (41 views)
Permalink
[issue14895] test_warnings.py EnvironmentVariableTests is a bad test

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

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>
<http://bugs.python.org/issue14895>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

May 23, 2012, 3:06 PM

Post #2 of 4 (41 views)
Permalink
[issue14895] test_warnings.py EnvironmentVariableTests is a bad test [In reply to]

Changes by Antoine Pitrou <pitrou [at] free>:


----------
nosy: +brett.cannon
versions: +Python 3.2, Python 3.3

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue14895>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

May 23, 2012, 3:26 PM

Post #3 of 4 (41 views)
Permalink
[issue14895] test_warnings.py EnvironmentVariableTests is a bad test [In reply to]

Philip Jenvey <pjenvey [at] underboss> added the comment:

Jython's sys.warnoptions should probably just contain strs instead of unicode. Otherwise I suspect unicode values could break the warnings module's usage of it

----------
nosy: +pjenvey

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue14895>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com


report at bugs

May 28, 2012, 6:15 PM

Post #4 of 4 (32 views)
Permalink
[issue14895] test_warnings.py EnvironmentVariableTests is a bad test [In reply to]

Changes by Frank Wierzbicki <fwierzbicki [at] gmail>:


----------
nosy: +fwierzbicki

_______________________________________
Python tracker <report [at] bugs>
<http://bugs.python.org/issue14895>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.