summaryrefslogtreecommitdiff
path: root/Lib/test/test_io.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-03-31 22:01:03 +0000
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-03-31 22:01:03 +0000
commit6257a7bbb2660ae75c44f2e71d7ac2ce73900f74 (patch)
tree6f010065c95f2d5617f56e07ba2628be21cf9d7a /Lib/test/test_io.py
parentad5983364966b49c277b495112ae41c6ae2d01ed (diff)
downloadcpython-git-6257a7bbb2660ae75c44f2e71d7ac2ce73900f74.tar.gz
Replace catch_warnings with check_warnings when it makes sense. Use assertRaises context manager to simplify some tests.
Diffstat (limited to 'Lib/test/test_io.py')
-rw-r--r--Lib/test/test_io.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py
index 0c335a3dd1..9ffe646ea9 100644
--- a/Lib/test/test_io.py
+++ b/Lib/test/test_io.py
@@ -29,7 +29,6 @@ import array
import threading
import random
import unittest
-import warnings
import weakref
import abc
from itertools import cycle, count