Back to index

python-biopython  1.60
Public Member Functions
test_SeqIO_AbiIO.TestAbiWrongMode Class Reference

List of all members.

Public Member Functions

def test_file_mode

Detailed Description

Definition at line 125 of file test_SeqIO_AbiIO.py.


Member Function Documentation

Test if exception is raised if file is not opened in 'rb' mode.

Definition at line 127 of file test_SeqIO_AbiIO.py.

00127 
00128     def test_file_mode(self):
00129         """Test if exception is raised if file is not opened in 'rb' mode."""
00130         open_files_wrong_mode(test_data)
00131         for trace in test_data:
00132             self.assertRaises(ValueError, SeqIO.read, test_data[trace]['handle'], 'abi')
00133         close_files(test_data)
00134 

Here is the call graph for this function:


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