test_pty_eof: separate classes for self.todo
authorZac Medico <zmedico@gentoo.org>
Fri, 21 Jan 2011 20:57:01 +0000 (12:57 -0800)
committerZac Medico <zmedico@gentoo.org>
Sat, 22 Jan 2011 06:19:22 +0000 (22:19 -0800)
pym/portage/tests/ebuild/test_pty_eof.py

index 251b63c439a9ca78c8d5bb34531bcf771f1a0388..4b6ff21d05d2165056b36fefc14c63a0299c7fbb 100644 (file)
@@ -4,7 +4,7 @@
 from portage.tests import TestCase
 from portage.util._pty import _can_test_pty_eof, _test_pty_eof
 
-class PtyEofTestCase(TestCase):
+class PtyEofFdopenBufferedTestCase(TestCase):
 
        def testPtyEofFdopenBuffered(self):
                # This tests if the following python issue is fixed yet:
@@ -18,6 +18,7 @@ class PtyEofTestCase(TestCase):
                        except EnvironmentError:
                                pass
 
+class PtyEofFdopenUnBufferedTestCase(TestCase):
        def testPtyEofFdopenUnBuffered(self):
                # New development: It appears that array.fromfile() is usable
                # with python3 as long as fdopen is called with a bufsize