diff options
author | Larry Hastings <larry@hastings.org> | 2013-11-24 22:05:57 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2013-11-24 22:05:57 (GMT) |
commit | 99e101013fa36da37e47a5a18b5a62d621b0efb9 (patch) | |
tree | f603004433e242a1eb26573cd9ec54846229d071 /Lib/test/test_io.py | |
parent | d34b620cc3b8b2326b511f98b0ca439ad97b83b8 (diff) | |
parent | 2480c2ed593a164fe3a4821a13d5867a0a7102ed (diff) | |
download | cpython-99e101013fa36da37e47a5a18b5a62d621b0efb9.zip cpython-99e101013fa36da37e47a5a18b5a62d621b0efb9.tar.gz cpython-99e101013fa36da37e47a5a18b5a62d621b0efb9.tar.bz2 |
Merged 3.4.0b1 release head back into trunk.
Diffstat (limited to 'Lib/test/test_io.py')
-rw-r--r-- | Lib/test/test_io.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index c1ea6f2..57f3659 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -2777,7 +2777,8 @@ class MiscIOTest(unittest.TestCase): self.assertEqual(f.mode, "wb") f.close() - f = self.open(support.TESTFN, "U") + with support.check_warnings(('', DeprecationWarning)): + f = self.open(support.TESTFN, "U") self.assertEqual(f.name, support.TESTFN) self.assertEqual(f.buffer.name, support.TESTFN) self.assertEqual(f.buffer.raw.name, support.TESTFN) |