[Python-checkins] python/nondist/sandbox/decimal Decimal.py,1.2,1.3

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Thu, 15 May 2003 11:53:10 -0700


Update of /cvsroot/python/python/nondist/sandbox/decimal
In directory sc8-pr-cvs1:/tmp/cvs-serv29518

Modified Files:
	Decimal.py 
Log Message:
Changed _test() so that running Decimal.py actually runs the tests (I
think the tests were moved into a different directory since the last
time someone tried to run the tests).


Index: Decimal.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/decimal/Decimal.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Decimal.py	14 May 2003 22:32:37 -0000	1.2
--- Decimal.py	15 May 2003 18:53:07 -0000	1.3
***************
*** 2709,2712 ****
--- 2709,2713 ----
          import glob
          self.filelist = glob.glob(dir+'*.decTest')
+         print self.filelist
          if len(self.filelist) > 15:
              self.filelist.append(self.filelist[15])
***************
*** 2905,2909 ****
  
  def _test():
!     t = Test('./')
      t.test()
  
--- 2906,2910 ----
  
  def _test():
!     t = Test('./tests/')
      t.test()