[Python-checkins] CVS: python/dist/src/Lib/test test_os.py,1.3,1.3.2.1
Guido van Rossum
gvanrossum@users.sourceforge.net
Sat, 18 Aug 2001 23:46:56 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv10864
Modified Files:
Tag: r22a2-branch
test_os.py
Log Message:
Ignore warnings for tempnam and tmpnam.
Index: test_os.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_os.py,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -C2 -d -r1.3 -r1.3.2.1
*** test_os.py 2001/07/21 01:41:30 1.3
--- test_os.py 2001/08/19 06:46:54 1.3.2.1
***************
*** 5,8 ****
--- 5,12 ----
import os
import unittest
+ import warnings
+
+ warnings.filterwarnings("ignore", "tempnam", RuntimeWarning, __name__)
+ warnings.filterwarnings("ignore", "tmpnam", RuntimeWarning, __name__)
from test_support import TESTFN, run_unittest