![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| test_unicode_crash (self) | |
| test_unicode (self) | |
| test_unicode_keep_parens (self) | |
| test_unicode_surrounding_parens (self) | |
Tests for str(), unicode(), and repr() of expressions
| parsimonious.tests.test_expressions.RepresentationTests.test_unicode | ( | self | ) |
Smoke-test the conversion of expressions to bits of rules. A slightly more comprehensive test of the actual values is in ``GrammarTests.test_unicode``.
| parsimonious.tests.test_expressions.RepresentationTests.test_unicode_crash | ( | self | ) |
Make sure matched unicode strings don't crash ``__str__``.
| parsimonious.tests.test_expressions.RepresentationTests.test_unicode_keep_parens | ( | self | ) |
Make sure converting an expression to unicode doesn't strip parenthesis.
| parsimonious.tests.test_expressions.RepresentationTests.test_unicode_surrounding_parens | ( | self | ) |
Make sure there are no surrounding parens around the entire right-hand side of an expression (as they're unnecessary).