summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_ucn.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-08-27 17:39:33 (GMT)
committerGuido van Rossum <guido@python.org>2007-08-27 17:39:33 (GMT)
commit5abbf750a2b7af030ef53880f428e507bde74b62 (patch)
tree9b44c2a0e16d651f81060a0e798aab1f749871a7 /Lib/test/test_ucn.py
parent6dab79535139a36d7e845c1c5f399d7a59d5d630 (diff)
downloadcpython-5abbf750a2b7af030ef53880f428e507bde74b62.zip
cpython-5abbf750a2b7af030ef53880f428e507bde74b62.tar.gz
cpython-5abbf750a2b7af030ef53880f428e507bde74b62.tar.bz2
Changes to io.py and socket.py by Christian Heimes.
- Replace all asserts by ValuleErrors or TypeErrors as appropriate. - Add _checkReadable, _checkWritable methods; these check self.closed too. - Add a test that everything exported by io.py exists, and is either an exception or an IOBase instance (except for the open function). - Default buffering to 1 if isatty() (I had to tweak this to enforce the *default* bit -- GvR).
Diffstat (limited to 'Lib/test/test_ucn.py')
0 files changed, 0 insertions, 0 deletions