[Python-checkins] python/dist/src/Lib/test test_compile.py,1.13,1.14

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Tue, 28 Jan 2003 12:39:53 -0800


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

Modified Files:
	test_compile.py 
Log Message:
Comment out a test that was anticipating SF patch 661536 -- but that
isn't checked in yet. :-(


Index: test_compile.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_compile.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** test_compile.py	28 Jan 2003 17:48:21 -0000	1.13
--- test_compile.py	28 Jan 2003 20:39:49 -0000	1.14
***************
*** 134,141 ****
  expect_same("000000000000009.", 9.)
  
! # Verify treatment of unary minus on negative numbers SF bug #660455
! import warnings
! warnings.filterwarnings("ignore", "hex/oct constants", FutureWarning)
! # XXX Of course the following test will have to be changed in Python 2.4
! expect_same("0xffffffff", -1)
! expect_same("-0xffffffff", 1)
--- 134,141 ----
  expect_same("000000000000009.", 9.)
  
! ## # Verify treatment of unary minus on negative numbers SF bug #660455
! ## import warnings
! ## warnings.filterwarnings("ignore", "hex/oct constants", FutureWarning)
! ## # XXX Of course the following test will have to be changed in Python 2.4
! ## expect_same("0xffffffff", -1)
! ## expect_same("-0xffffffff", 1)