Package lepl :: Package lexer :: Package _test :: Module matchers :: Class ErrorTest
[hide private]
[frames] | no frames]

Class ErrorTest

source code


Test various error messages.
Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
test_mixed(self)
Cannot mix tokens and non-tokens at same level.
source code
 
test_bad_space(self)
An unexpected character fails to match.
source code
 
test_incomplete(self)
A token is not completely consumed (this doesn't raise error messages, it just fails to match).
source code
 
test_none_discard(self)
If discard is '', discard nothing.
source code
 
test_paren(self) source code

Inherited from unittest.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, setUp, shortDescription, tearDown

Inherited from unittest.TestCase (private): _exc_info