[New-bugs-announce] [issue18279] IDLE Unit test for RstripExtension.py

Phil Webster report at bugs.python.org
Sat Jun 22 00:37:53 CEST 2013


New submission from Phil Webster:

This is a single test for RstripExtension.py, following from #15392. I also added a mock EditorWindow module with a Text widget for testing. test_rstripextension.py seems to run fine inside IDLE and produces the following output:

>>> 
test_do_rstrip (__main__.Test_rstripextension) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.100s

OK

However, when I run via the command line, I get the following output:

philwebster at ubuntu:~/Dev/cpython$ ./python -m test -ugui test_idle
[1/1] test_idle
Warning -- warnings.showwarning was modified by test_idle
1 test altered the execution environment:
    test_idle

I attempted to replicate the results from #18189, but saw the same message. Any thoughts?

----------
components: IDLE
messages: 191618
nosy: JayKrish, philwebster
priority: normal
severity: normal
status: open
title: IDLE Unit test for RstripExtension.py
type: enhancement
versions: Python 2.7, Python 3.4

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


More information about the New-bugs-announce mailing list