From: <fwi...@us...> - 2008-10-21 00:40:09
|
Revision: 5493 http://jython.svn.sourceforge.net/jython/?rev=5493&view=rev Author: fwierzbicki Date: 2008-10-21 00:40:02 +0000 (Tue, 21 Oct 2008) Log Message: ----------- These three tests are well covered by existing tests. Removed Paths: ------------- trunk/jython/bugtests/test140.py trunk/jython/bugtests/test142.py trunk/jython/bugtests/test144.py Deleted: trunk/jython/bugtests/test140.py =================================================================== --- trunk/jython/bugtests/test140.py 2008-10-21 00:38:12 UTC (rev 5492) +++ trunk/jython/bugtests/test140.py 2008-10-21 00:40:02 UTC (rev 5493) @@ -1,17 +0,0 @@ -""" -Check calling an instance method with a class instance. -""" - -import support - -class foo: - def bar(): return "bar" - -try: - foo.bar() -except TypeError, e: - support.compare(e, "with \w* ?instance") -else: - raise support.TestError("Should raise TypeError") - - Deleted: trunk/jython/bugtests/test142.py =================================================================== --- trunk/jython/bugtests/test142.py 2008-10-21 00:38:12 UTC (rev 5492) +++ trunk/jython/bugtests/test142.py 2008-10-21 00:40:02 UTC (rev 5493) @@ -1,17 +0,0 @@ -""" -Calling constructor on PyObject subclasses from python. -""" - -import support - -support.compileJava("classes/test142j.java") - -import test142j - -a = test142j([1.1, 1.2, 1.3]) -support.compare(a.__repr__(), "1.1, 1.2, 1.3") - -b = test142j.new([1.1, 1.2, 1.3, 1.4]) -support.compare(b.__repr__(), "1.1, 1.2, 1.3, 1.4") - - Deleted: trunk/jython/bugtests/test144.py =================================================================== --- trunk/jython/bugtests/test144.py 2008-10-21 00:38:12 UTC (rev 5492) +++ trunk/jython/bugtests/test144.py 2008-10-21 00:40:02 UTC (rev 5493) @@ -1,15 +0,0 @@ -""" - -""" - -import support - -class m: - __var = 0 - -try: - m.__var -except AttributeError, e: - support.compare(e, "class 'm' has no attribute '__var'") -else: - raise support.TestError("Should raise") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |