phystricks
Public Member Functions | Public Attributes | List of all members
phystricks.src.Exceptions.PhystricksTestError Class Reference
Inheritance diagram for phystricks.src.Exceptions.PhystricksTestError:
Inheritance graph
[legend]
Collaboration diagram for phystricks.src.Exceptions.PhystricksTestError:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, expected_text=None, obtained_text=None, justification=None, pspict=None, code=1)
 
def __str__ (self)
 
- Public Member Functions inherited from phystricks.src.Exceptions.PhystricksGenericException
def __str__ (self)
 

Public Attributes

 expected_text
 
 obtained_text
 
 justification
 
 pspict
 
 code
 

Detailed Description

The exception raised when testing the pspictures.

Constructor & Destructor Documentation

def phystricks.src.Exceptions.PhystricksTestError.__init__ (   self,
  expected_text = None,
  obtained_text = None,
  justification = None,
  pspict = None,
  code = 1 
)
code is 1 or 2.
code==1 indicates that the figure has to be visually checked.
code==2 indicates that the figure has to be recompiled (LaTeX)

Member Function Documentation

def phystricks.src.Exceptions.PhystricksTestError.__str__ (   self)

Member Data Documentation

phystricks.src.Exceptions.PhystricksTestError.code
phystricks.src.Exceptions.PhystricksTestError.expected_text
phystricks.src.Exceptions.PhystricksTestError.justification
phystricks.src.Exceptions.PhystricksTestError.obtained_text
phystricks.src.Exceptions.PhystricksTestError.pspict

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