[Python-checkins] r78090 - in python/branches/py3k: Lib/test/test_memoryio.py
antoine.pitrou
python-checkins at python.org
Sun Feb 7 18:00:43 CET 2010
Author: antoine.pitrou
Date: Sun Feb 7 18:00:43 2010
New Revision: 78090
Log:
Merged revisions 78088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78088 | antoine.pitrou | 2010-02-07 17:56:23 +0100 (dim., 07 févr. 2010) | 4 lines
Issue #7870: Remove duplicate test methods. Reported by Georg Brandl.
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Lib/test/test_memoryio.py
Modified: python/branches/py3k/Lib/test/test_memoryio.py
==============================================================================
--- python/branches/py3k/Lib/test/test_memoryio.py (original)
+++ python/branches/py3k/Lib/test/test_memoryio.py Sun Feb 7 18:00:43 2010
@@ -470,25 +470,6 @@
class TextIOTestMixin:
- def test_relative_seek(self):
- memio = self.ioclass()
-
- self.assertRaises(IOError, memio.seek, -1, 1)
- self.assertRaises(IOError, memio.seek, 3, 1)
- self.assertRaises(IOError, memio.seek, -3, 1)
- self.assertRaises(IOError, memio.seek, -1, 2)
- self.assertRaises(IOError, memio.seek, 1, 1)
- self.assertRaises(IOError, memio.seek, 1, 2)
-
- def test_textio_properties(self):
- memio = self.ioclass()
-
- # These are just dummy values but we nevertheless check them for fear
- # of unexpected breakage.
- self.assertTrue(memio.encoding is None)
- self.assertEqual(memio.errors, "strict")
- self.assertEqual(memio.line_buffering, False)
-
def test_newlines_property(self):
memio = self.ioclass(newline=None)
# The C StringIO decodes newlines in write() calls, but the Python
More information about the Python-checkins
mailing list