Back to index

python3.2  3.2.2
Public Member Functions
test.test_openpty.OpenptyTest Class Reference

List of all members.

Public Member Functions

def test

Detailed Description

Definition at line 10 of file

Member Function Documentation

Definition at line 11 of file

00012     def test(self):
00013         master, slave = os.openpty()
00014         if not os.isatty(slave):
00015   "Slave-end of pty is not a terminal.")
00017         os.write(slave, b'Ping!')
00018         self.assertEqual(, 1024), b'Ping!')

Here is the call graph for this function:

Here is the caller graph for this function:

The documentation for this class was generated from the following file: