From: <fwi...@us...> - 2008-10-21 00:35:51
|
Revision: 5491 http://jython.svn.sourceforge.net/jython/?rev=5491&view=rev Author: fwierzbicki Date: 2008-10-21 00:35:49 +0000 (Tue, 21 Oct 2008) Log Message: ----------- Charlie Groves pushed me over the "maybe the test is just dumb?" barrier. Modified Paths: -------------- trunk/jython/Lib/test/test_str_jy.py Modified: trunk/jython/Lib/test/test_str_jy.py =================================================================== --- trunk/jython/Lib/test/test_str_jy.py 2008-10-21 00:24:00 UTC (rev 5490) +++ trunk/jython/Lib/test/test_str_jy.py 2008-10-21 00:35:49 UTC (rev 5491) @@ -130,12 +130,6 @@ self.assertEqual(repr(test2), '"\'bar"') self.assertEqual(repr(unicode(test2)), 'u"\'bar"') - def test_startswith(self): - #from bugtests -- maybe making sure methods are case sensitive? - msg = 'This is a test.' - self.assertRaises(AttributeError, getattr, msg, "startsWith") - assert msg.startswith('This') - def test_main(): test_support.run_unittest(WrappedStrCmpTest, IntToStrTest, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |