Package gavo :: Package rscdef :: Module regtest :: Class EqualingRE
[frames] | no frames]

Class EqualingRE

source code

object --+
         |
        EqualingRE

A value that compares equal based on RE matches.

This is a helper mainly for GetHasXPathsTests. Use an instance of this class to check against an RE rather than a plain string.

Instance Methods
 
__init__(self, pattern)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__eq__(self, other) source code
 
__ne__(self, other) source code
 
__str__(self)
str(x)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, pattern)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)