cvsuser     04/07/10 04:43:13

  Modified:    .        MANIFEST
  Added:       languages/python/t/basic oo_attr.t
  Log:
  Pie-thon 47 - new test
  
  Revision  Changes    Path
  1.703     +1 -0      parrot/MANIFEST
  
  Index: MANIFEST
  ===================================================================
  RCS file: /cvs/public/parrot/MANIFEST,v
  retrieving revision 1.702
  retrieving revision 1.703
  diff -u -w -r1.702 -r1.703
  --- MANIFEST  9 Jul 2004 16:38:49 -0000       1.702
  +++ MANIFEST  10 Jul 2004 11:43:10 -0000      1.703
  @@ -2268,6 +2268,7 @@
   languages/python/t/basic/02_expr.t                []
   languages/python/t/basic/03_types.t               []
   languages/python/t/basic/func.t                   []
  +languages/python/t/basic/oo_attr.t                  []
   languages/python/t/basic/iter.t                   []
   languages/python/t/pie/b2.t                       []
   languages/python/t/pie/b5.t                       []
  
  
  
  1.1                  parrot/languages/python/t/basic/oo_attr.t
  
  Index: oo_attr.t
  ===================================================================
  # $Id: oo_attr.t,v 1.1 2004/07/10 11:43:13 leo Exp $
  
  use strict;
  use lib '../../lib';
  
  use Parrot::Test tests => 1;
  
  sub test {
      language_output_is('python', $_[0], '', $_[1]);
  }
  
  test(<<'CODE', 'func attribs');
  def f(x):
      print x
  if __name__ == '__main__':
      print "a".__repr__()
      print dict.fromkeys("abc")
      it = iter("abcde")
      print it.next()
      print f("Ok")
  CODE
  
  
  

Reply via email to