Package pytilities :: Package overloading :: Module matchers
[hide private]
[frames] | no frames]

Module matchers

source code

Functions [hide private]
 
matches_everything(value)
A matcher that always returns true...
source code
 
matches_type(*types)
A matcher that matches values which are instances of any of given types...
source code
 
matches_all(*matchers)
A matcher that matches values which match all given matchers...
source code
 
matches_any(*matchers)
A matcher that matches values which are instances of any of given types...
source code
 
matches_none(*matchers)
A matcher that matches values which are instances of any of given types...
source code
Variables [hide private]
  __package__ = None
Function Details [hide private]

matches_everything(value)

source code 
A matcher that always returns true
    

matches_type(*types)

source code 
A matcher that matches values which are instances of any of given types
types: -- collection of types

matches_all(*matchers)

source code 
A matcher that matches values which match all given matchers
matchers: -- collection of matcher functions

matches_any(*matchers)

source code 
A matcher that matches values which are instances of any of given types
matchers: -- ordered sequence of matcher functions

matches_none(*matchers)

source code 
A matcher that matches values which are instances of any of given types
matchers: -- collection of matcher functions