[Python-checkins] python/dist/src/Lib/test test_b1.py,1.49,1.50 test_b2.py,1.36,1.37

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Mon, 12 Aug 2002 08:16:22 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv17178

Modified Files:
	test_b1.py test_b2.py 
Log Message:
Shut up warnings about hex()/oct() that can't be avoided.


Index: test_b1.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_b1.py,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -d -r1.49 -r1.50
*** test_b1.py	30 Jul 2002 23:26:01 -0000	1.49
--- test_b1.py	12 Aug 2002 15:16:20 -0000	1.50
***************
*** 1,4 ****
--- 1,8 ----
  # Python test set -- part 4a, built-in functions a-m
  
+ import warnings
+ warnings.filterwarnings("ignore", "hex../oct.. of negative int",
+                         DeprecationWarning, __name__)
+ 
  from test.test_support import TestFailed, fcmp, have_unicode, TESTFN, unlink
  

Index: test_b2.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_b2.py,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** test_b2.py	30 Jul 2002 23:26:01 -0000	1.36
--- test_b2.py	12 Aug 2002 15:16:20 -0000	1.37
***************
*** 1,4 ****
--- 1,8 ----
  # Python test set -- part 4b, built-in functions n-z
  
+ import warnings
+ warnings.filterwarnings("ignore", "hex../oct.. of negative int",
+                         DeprecationWarning, __name__)
+ 
  from test.test_support import TestFailed, fcmp, TESTFN, unlink, vereq