Back to index

python3.2  3.2.2
Public Member Functions
test.test_os.DevNullTests Class Reference

List of all members.

Public Member Functions

def test_devnull

Detailed Description

Definition at line 586 of file

Member Function Documentation

Definition at line 587 of file

00588     def test_devnull(self):
00589         with open(os.devnull, 'wb') as f:
00590             f.write(b'hello')
00591             f.close()
00592         with open(os.devnull, 'rb') as f:
00593             self.assertEqual(, b'')

Here is the call graph for this function:

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