<span>Thanks Dave. Doesn't impact me me right now so I won't vote :-) !!</span><br><br><div class="gmail_quote">On Mon, Apr 7, 2008 at 4:47 PM, Dave Fugate <<a href="mailto:dfugate@microsoft.com">dfugate@microsoft.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Thanks for reporting this! I believe we do already have an
internal bug report on this, and I've now created a public bug on
CodePlex (<a href="http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=15972" target="_blank">http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=15972</a>)
so it can be voted on.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:users-bounces@lists.ironpython.com" target="_blank">users-bounces@lists.ironpython.com</a> [mailto:<a href="mailto:users-bounces@lists.ironpython.com" target="_blank">users-bounces@lists.ironpython.com</a>] <b>On
Behalf Of </b>Curt Hagenlocher<br>
<b>Sent:</b> Saturday, April 05, 2008 10:16 AM<br>
<b>To:</b> Discussion of IronPython<br>
<b>Subject:</b> Re: [IronPython] False? with Unit Test</span></p>
</div><div><div></div><div class="Wj3C7c">
<p> </p>
<p style="margin-bottom: 12pt;">It's the call to sys.exit that
does this.<br>
<br>
There's a subtle difference between IronPython 2.0B1 and CPython 2.5 when
sys.exit is called with a boolean parameter. CPython doesn't print the
value of the parameter if it's boolean, while IronPython does.
Presumably, CPython does this for backwards compatibility with a time when it
didn't have a boolean data type. I'd guess that sys.exit(False) gets the same
behavior as sys.exit(0) while sys.exit(True) is the same as sys.exit(1).
But I haven't checked the CPython source to confirm that guess.</p>
<div>
<p>On Sat, Apr 5, 2008 at 6:06 AM, Davy Mitchell <<a href="mailto:daftspaniel@gmail.com" target="_blank">daftspaniel@gmail.com</a>>
wrote:</p>
<p style="margin-bottom: 12pt;">Hello List,<br>
<br>
Found a little funny on the latest IPY.<br>
<br>
import unittest<br>
<br>
class ATest(unittest.TestCase):<br>
def setUp(self):<br>
self.pop =
""<br>
def test_blog(self):<br>
print
"test"<br>
<br>
if __name__ == '__main__':<br>
unittest.main()<br>
<br>
Runs fine but under IPY there's a extra line with 'False' output:<br>
<br>
test<br>
.<br>
--------------------------------------------------------------<br>
Ran one test in 0.096s<br>
<br>
OK<br>
False<br>
<br>
Anyone had more experience with this module?<br>
<br>
Davy<br clear="all">
<span style="color: rgb(136, 136, 136);"><br>
-- <br>
Davy Mitchell<br>
Blog - <a href="http://www.latedecember.co.uk/sites/personal/davy/" target="_blank">http://www.latedecember.co.uk/sites/personal/davy/</a><br>
Twitter - <a href="http://twitter.com/daftspaniel" target="_blank">http://twitter.com/daftspaniel</a><br>
Skype - daftspaniel <a href="http://needgod.com" target="_blank">http://needgod.com</a>
</span><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a></p>
</div>
<p> </p>
</div></div></div>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Davy Mitchell<br>Blog - <a href="http://www.latedecember.co.uk/sites/personal/davy/">http://www.latedecember.co.uk/sites/personal/davy/</a><br>Twitter - <a href="http://twitter.com/daftspaniel">http://twitter.com/daftspaniel</a><br>
Skype - daftspaniel <a href="http://needgod.com">http://needgod.com</a>