Back to index

python-biopython  1.60
Public Member Functions
test_Entrez.GeneralTests Class Reference

List of all members.

Public Member Functions

def test_closed_handle

Detailed Description

General tests for Bio.Entrez

Definition at line 38 of file test_Entrez.py.


Member Function Documentation

Test parsing closed handle fails gracefully

Definition at line 40 of file test_Entrez.py.

00040 
00041     def test_closed_handle(self):
00042         '''Test parsing closed handle fails gracefully
00043         '''
00044         handle = open('Entrez/einfo1.xml', "rb")
00045         handle.close()
00046         self.assertRaises(IOError, Entrez.read, handle)
00047 

Here is the call graph for this function:


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