~certify-web-dev/twisted/certify-trunk

« back to all changes in this revision

Viewing changes to twisted/test/crash_test_dummy.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2004-06-21 22:01:11 UTC
  • mto: (2.2.3 sid)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20040621220111-vkf909euqnyrp3nr
Tags: upstream-1.3.0
ImportĀ upstreamĀ versionĀ 1.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# License along with this library; if not, write to the Free Software
16
16
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
17
 
 
18
from twisted.python import components
 
19
 
18
20
 
19
21
def foo():
20
22
    return 2
27
29
        #print 'X',self.x,'doing!'
28
30
        pass
29
31
 
 
32
 
 
33
class XComponent(components.Componentized):
 
34
    pass
 
35
 
 
36
class IX(components.Interface):
 
37
    pass
 
38
 
 
39
class XA(components.Adapter):
 
40
    __implements__ = (IX,)
 
41
 
 
42
    def method(self):
 
43
        # Kick start :(
 
44
        pass
 
45
 
 
46
components.registerAdapter(XA, X, IX)