* Package: dev-python/tpg-3.1.2 * Repository: gentoo * Maintainer: python@gentoo.org * USE: amd64 elibc_glibc kernel_linux multilib test userland_GNU >>> Unpacking source... >>> Unpacking TPG-3.1.2.tar.gz to /var/tmp/portage/dev-python/tpg-3.1.2/work >>> Source unpacked in /var/tmp/portage/dev-python/tpg-3.1.2/work >>> Compiling source in /var/tmp/portage/dev-python/tpg-3.1.2/work/TPG-3.1.2 ... python2.7 setup.py build running build running build_py creating build creating build/lib copying tpg.py -> build/lib warning: build_py: byte-compiling is disabled, skipping. running build_scripts creating build/scripts-2.7 copying and adjusting tpg -> build/scripts-2.7 changing mode of build/scripts-2.7/tpg from 644 to 755 >>> Source compiled. ********************************************************************** * * Unit tests for tpg 3.1.2 (2008-03-19) * * Platform : linux2 * Version : 2.7 (r27:82500, Oct 24 2010, 17:03:16) [GCC 4.5.1] * * Please report bug to Christophe Delord (christophe.delord@free.fr) * for further detail read http://christophe.delord.free.fr/en/tpg/ * ********************************************************************** ********************************************************************** * Parser ContextSensitiveLexer ********************************************************************** testArgs (__main__.ArgsTestCase) ... ok testAxiom (__main__.AxiomTestCase) ... ok testBacktracking (__main__.BacktrackingTestCase) ... ok testCheckError (__main__.CheckErrorTestCase) ... ok testEmptyLast (__main__.EmptyChoiceTestCase) ... ok testEmptyNonLast (__main__.EmptyChoiceTestCase) ... ok testExtract (__main__.ExtractTestCase) ... ok testDotAll (__main__.LexerOptionsTestCase) ... ok testIgnoreCase (__main__.LexerOptionsTestCase) ... ok testMultiline (__main__.LexerOptionsTestCase) ... ok testNotDotAll (__main__.LexerOptionsTestCase) ... ok testNotIgnoreCase (__main__.LexerOptionsTestCase) ... ok testNotMultiline (__main__.LexerOptionsTestCase) ... ok testNotVerbose (__main__.LexerOptionsTestCase) ... ok testNotWordBound (__main__.LexerOptionsTestCase) ... ok testVerbose (__main__.LexerOptionsTestCase) ... ok testWordBound (__main__.LexerOptionsTestCase) ... ok testWordBounded2 (__main__.LexerOptionsTestCase) ... ok testLexers (__main__.LexersTestCase) ... ok testPositions (__main__.LexersTestCase) ... ok testExpr (__main__.PyExprTestCase) ... ok testPlus (__main__.RepetitionTestCase) ... ok testQuestion (__main__.RepetitionTestCase) ... ok testREP1 (__main__.RepetitionTestCase) ... ok testREP2 (__main__.RepetitionTestCase) ... ok testREP3 (__main__.RepetitionTestCase) ... ok testREP4 (__main__.RepetitionTestCase) ... ok testREP5 (__main__.RepetitionTestCase) ... ok testREP6 (__main__.RepetitionTestCase) ... ok testStar (__main__.RepetitionTestCase) ... ok testTokenInfo (__main__.TokenInfoTestCase) ... ok testExpr (__main__.UnicodeTestCase) ... ok ---------------------------------------------------------------------- Ran 32 tests in 0.049s OK ********************************************************************** * Parser Lexer ********************************************************************** testArgs (__main__.ArgsTestCase) ... ok testAxiom (__main__.AxiomTestCase) ... ok testBacktracking (__main__.BacktrackingTestCase) ... ok testCheckError (__main__.CheckErrorTestCase) ... ok testEmptyLast (__main__.EmptyChoiceTestCase) ... ok testEmptyNonLast (__main__.EmptyChoiceTestCase) ... ok testExtract (__main__.ExtractTestCase) ... ok testDotAll (__main__.LexerOptionsTestCase) ... ok testIgnoreCase (__main__.LexerOptionsTestCase) ... ok testMultiline (__main__.LexerOptionsTestCase) ... ok testNotDotAll (__main__.LexerOptionsTestCase) ... ok testNotIgnoreCase (__main__.LexerOptionsTestCase) ... ok testNotMultiline (__main__.LexerOptionsTestCase) ... ok testNotVerbose (__main__.LexerOptionsTestCase) ... ok testNotWordBound (__main__.LexerOptionsTestCase) ... ok testVerbose (__main__.LexerOptionsTestCase) ... ok testWordBound (__main__.LexerOptionsTestCase) ... ok testWordBounded2 (__main__.LexerOptionsTestCase) ... ok testLexers (__main__.LexersTestCase) ... ok testPositions (__main__.LexersTestCase) ... ok testExpr (__main__.PyExprTestCase) ... ok testPlus (__main__.RepetitionTestCase) ... ok testQuestion (__main__.RepetitionTestCase) ... ok testREP1 (__main__.RepetitionTestCase) ... ok testREP2 (__main__.RepetitionTestCase) ... ok testREP3 (__main__.RepetitionTestCase) ... ok testREP4 (__main__.RepetitionTestCase) ... ok testREP5 (__main__.RepetitionTestCase) ... ok testREP6 (__main__.RepetitionTestCase) ... ok testStar (__main__.RepetitionTestCase) ... ok testTokenInfo (__main__.TokenInfoTestCase) ... ok testExpr (__main__.UnicodeTestCase) ... ok ---------------------------------------------------------------------- Ran 32 tests in 0.028s OK ********************************************************************** * Parser CacheNamedGroupLexer ********************************************************************** testArgs (__main__.ArgsTestCase) ... ok testAxiom (__main__.AxiomTestCase) ... ok testBacktracking (__main__.BacktrackingTestCase) ... ok testCheckError (__main__.CheckErrorTestCase) ... ok testEmptyLast (__main__.EmptyChoiceTestCase) ... ok testEmptyNonLast (__main__.EmptyChoiceTestCase) ... ok testExtract (__main__.ExtractTestCase) ... ok testDotAll (__main__.LexerOptionsTestCase) ... ok testIgnoreCase (__main__.LexerOptionsTestCase) ... ok testMultiline (__main__.LexerOptionsTestCase) ... ok testNotDotAll (__main__.LexerOptionsTestCase) ... ok testNotIgnoreCase (__main__.LexerOptionsTestCase) ... ok testNotMultiline (__main__.LexerOptionsTestCase) ... ok testNotVerbose (__main__.LexerOptionsTestCase) ... ok testNotWordBound (__main__.LexerOptionsTestCase) ... ok testVerbose (__main__.LexerOptionsTestCase) ... ok testWordBound (__main__.LexerOptionsTestCase) ... ok testWordBounded2 (__main__.LexerOptionsTestCase) ... ok testLexers (__main__.LexersTestCase) ... ok testPositions (__main__.LexersTestCase) ... ok testExpr (__main__.PyExprTestCase) ... ok testPlus (__main__.RepetitionTestCase) ... ok testQuestion (__main__.RepetitionTestCase) ... ok testREP1 (__main__.RepetitionTestCase) ... ok testREP2 (__main__.RepetitionTestCase) ... ok testREP3 (__main__.RepetitionTestCase) ... ok testREP4 (__main__.RepetitionTestCase) ... ok testREP5 (__main__.RepetitionTestCase) ... ok testREP6 (__main__.RepetitionTestCase) ... ok testStar (__main__.RepetitionTestCase) ... ok testTokenInfo (__main__.TokenInfoTestCase) ... ok testExpr (__main__.UnicodeTestCase) ... ok ---------------------------------------------------------------------- Ran 32 tests in 0.046s OK ********************************************************************** * Parser NamedGroupLexer ********************************************************************** testArgs (__main__.ArgsTestCase) ... ok testAxiom (__main__.AxiomTestCase) ... ok testBacktracking (__main__.BacktrackingTestCase) ... ok testCheckError (__main__.CheckErrorTestCase) ... ok testEmptyLast (__main__.EmptyChoiceTestCase) ... ok testEmptyNonLast (__main__.EmptyChoiceTestCase) ... ok testExtract (__main__.ExtractTestCase) ... ok testDotAll (__main__.LexerOptionsTestCase) ... ok testIgnoreCase (__main__.LexerOptionsTestCase) ... ok testMultiline (__main__.LexerOptionsTestCase) ... ok testNotDotAll (__main__.LexerOptionsTestCase) ... ok testNotIgnoreCase (__main__.LexerOptionsTestCase) ... ok testNotMultiline (__main__.LexerOptionsTestCase) ... ok testNotVerbose (__main__.LexerOptionsTestCase) ... ok testNotWordBound (__main__.LexerOptionsTestCase) ... ok testVerbose (__main__.LexerOptionsTestCase) ... ok testWordBound (__main__.LexerOptionsTestCase) ... ok testWordBounded2 (__main__.LexerOptionsTestCase) ... ok testLexers (__main__.LexersTestCase) ... ok testPositions (__main__.LexersTestCase) ... ok testExpr (__main__.PyExprTestCase) ... ok testPlus (__main__.RepetitionTestCase) ... ok testQuestion (__main__.RepetitionTestCase) ... ok testREP1 (__main__.RepetitionTestCase) ... ok testREP2 (__main__.RepetitionTestCase) ... ok testREP3 (__main__.RepetitionTestCase) ... ok testREP4 (__main__.RepetitionTestCase) ... ok testREP5 (__main__.RepetitionTestCase) ... ok testREP6 (__main__.RepetitionTestCase) ... ok testStar (__main__.RepetitionTestCase) ... ok testTokenInfo (__main__.TokenInfoTestCase) ... ok testExpr (__main__.UnicodeTestCase) ... ok ---------------------------------------------------------------------- Ran 32 tests in 0.026s OK ********************************************************************** * Parser CacheLexer ********************************************************************** testArgs (__main__.ArgsTestCase) ... ok testAxiom (__main__.AxiomTestCase) ... ok testBacktracking (__main__.BacktrackingTestCase) ... ok testCheckError (__main__.CheckErrorTestCase) ... ok testEmptyLast (__main__.EmptyChoiceTestCase) ... ok testEmptyNonLast (__main__.EmptyChoiceTestCase) ... ok testExtract (__main__.ExtractTestCase) ... ok testDotAll (__main__.LexerOptionsTestCase) ... ok testIgnoreCase (__main__.LexerOptionsTestCase) ... ok testMultiline (__main__.LexerOptionsTestCase) ... ok testNotDotAll (__main__.LexerOptionsTestCase) ... ok testNotIgnoreCase (__main__.LexerOptionsTestCase) ... ok testNotMultiline (__main__.LexerOptionsTestCase) ... ok testNotVerbose (__main__.LexerOptionsTestCase) ... ok testNotWordBound (__main__.LexerOptionsTestCase) ... ok testVerbose (__main__.LexerOptionsTestCase) ... ok testWordBound (__main__.LexerOptionsTestCase) ... ok testWordBounded2 (__main__.LexerOptionsTestCase) ... ok testLexers (__main__.LexersTestCase) ... ok testPositions (__main__.LexersTestCase) ... ok testExpr (__main__.PyExprTestCase) ... ok testPlus (__main__.RepetitionTestCase) ... ok testQuestion (__main__.RepetitionTestCase) ... ok testREP1 (__main__.RepetitionTestCase) ... ok testREP2 (__main__.RepetitionTestCase) ... ok testREP3 (__main__.RepetitionTestCase) ... ok testREP4 (__main__.RepetitionTestCase) ... ok testREP5 (__main__.RepetitionTestCase) ... ok testREP6 (__main__.RepetitionTestCase) ... ok testStar (__main__.RepetitionTestCase) ... ok testTokenInfo (__main__.TokenInfoTestCase) ... ok testExpr (__main__.UnicodeTestCase) ... ok ---------------------------------------------------------------------- Ran 32 tests in 0.029s OK ********************************************************************** * VerboseParser verbose=0 ContextSensitiveLexer ********************************************************************** testArgs (__main__.ArgsTestCase) ... ok testAxiom (__main__.AxiomTestCase) ... ok testBacktracking (__main__.BacktrackingTestCase) ... [ 1][ 1]START: (1,1) _tok_1 a == _tok_1 [ 2][ 1]START: (1,2) _tok_2 b == _tok_2 [ 3][ 1]START: (1,3) _tok_3 c == _tok_3 [ 4][ 1]START: (1,4) _tok_4 d == _tok_4 [ 5][ 1]START: (1,1) _tok_1 a == _tok_1 [ 6][ 1]START: (1,2) _tok_2 b == _tok_2 [ 8][ 1]START: (1,1) _tok_1 a == _tok_1 [ 9][ 1]START: (1,2) _tok_2 b == _tok_2 [ 10][ 1]START: (1,3) _tok_4 d == _tok_4 [ 11][ 1]START: (1,4) _tok_3 c == _tok_3 [ 12][ 1]START: (1,1) _tok_1 a == _tok_1 [ 14][ 1]START: (1,1) _tok_1 a == _tok_1 [ 16][ 1]START: (1,1) _tok_1 a == _tok_1 [ 17][ 1]START: (1,2) _tok_3 c == _tok_3 [ 18][ 1]START: (1,3) _tok_2 b == _tok_2 [ 19][ 1]START: (1,4) _tok_4 d == _tok_4 [ 20][ 1]START: (1,1) _tok_1 a == _tok_1 [ 22][ 1]START: (1,1) _tok_1 a == _tok_1 [ 24][ 1]START: (1,1) _tok_1 a == _tok_1 [ 25][ 1]START: (1,2) _tok_3 c == _tok_3 [ 27][ 1]START: (1,2) _tok_3 c == _tok_3 [ 28][ 1]START: (1,3) _tok_4 d == _tok_4 [ 29][ 1]START: (1,4) _tok_2 b == _tok_2 [ 30][ 1]START: (1,1) _tok_1 a == _tok_1 [ 32][ 1]START: (1,1) _tok_1 a == _tok_1 [ 34][ 1]START: (1,1) _tok_1 a == _tok_1 [ 37][ 1]START: (1,2) _tok_4 d == _tok_4 [ 38][ 1]START: (1,3) _tok_2 b == _tok_2 [ 39][ 1]START: (1,4) _tok_3 c == _tok_3 [ 40][ 1]START: (1,1) _tok_1 a == _tok_1 [ 42][ 1]START: (1,1) _tok_1 a == _tok_1 [ 44][ 1]START: (1,1) _tok_1 a == _tok_1 [ 47][ 1]START: (1,2) _tok_4 d == _tok_4 [ 49][ 1]START: (1,3) _tok_3 c == _tok_3 [ 50][ 1]START: (1,4) _tok_2 b == _tok_2 [ 54][ 1]START: (1,1) _tok_2 b == _tok_2 [ 55][ 1]START: (1,2) _tok_1 a == _tok_1 [ 56][ 1]START: (1,3) _tok_3 c == _tok_3 [ 57][ 1]START: (1,4) _tok_4 d == _tok_4 [ 61][ 1]START: (1,1) _tok_2 b == _tok_2 [ 62][ 1]START: (1,2) _tok_1 a == _tok_1 [ 64][ 1]START: (1,3) _tok_4 d == _tok_4 [ 65][ 1]START: (1,4) _tok_3 c == _tok_3 [ 69][ 1]START: (1,1) _tok_2 b == _tok_2 [ 71][ 1]START: (1,2) _tok_3 c == _tok_3 [ 72][ 1]START: (1,3) _tok_1 a == _tok_1 [ 73][ 1]START: (1,4) _tok_4 d == _tok_4 [ 77][ 1]START: (1,1) _tok_2 b == _tok_2 [ 79][ 1]START: (1,2) _tok_3 c == _tok_3 [ 81][ 1]START: (1,3) _tok_4 d == _tok_4 [ 82][ 1]START: (1,4) _tok_1 a == _tok_1 [ 87][ 1]START: (1,1) _tok_5 e == _tok_5 [ 88][ 1]START: (1,1) _tok_1 a == _tok_1 [ 89][ 1]START: (1,2) _tok_2 b == _tok_2 [ 90][ 1]START: (1,3) _tok_3 c == _tok_3 [ 92][ 1]START: (1,1) _tok_1 a == _tok_1 [ 93][ 1]START: (1,2) _tok_2 b == _tok_2 [ 95][ 1]START: (1,1) _tok_1 a == _tok_1 [101][ 1]START: (1,1) _tok_1 a == _tok_1 [102][ 1]START: (1,2) _tok_2 b == _tok_2 [104][ 1]START: (1,1) _tok_1 a == _tok_1 [105][ 1]START: (1,2) _tok_2 b == _tok_2 [107][ 1]START: (1,1) _tok_1 a == _tok_1 [113][ 1]START: (1,1) _tok_1 a == _tok_1 [115][ 1]START: (1,1) _tok_1 a == _tok_1 [117][ 1]START: (1,1) _tok_1 a == _tok_1 [127][ 1]START: (1,1) _tok_5 e == _tok_5 ok testCheckError (__main__.CheckErrorTestCase) ... [ 1][ 1]POSITIVE_1: (1,1) int 1 == int [ 2][ 1]POSITIVE_2: (1,1) int 1 == int [ 3][ 1]POSITIVE_3: (1,1) int 1 == int [ 4][ 1]POSITIVE_4: (1,1) int 1 == int [ 5][ 1]POSITIVE_5: (1,1) int 1 == int [ 6][ 1]POSITIVE_6: (1,1) int 1 == int [ 7][ 1]POSITIVE_7: (1,1) int 1 == int [ 8][ 1]POSITIVE_1: (1,1) int 18 == int [ 9][ 1]POSITIVE_2: (1,1) int 18 == int [ 10][ 1]POSITIVE_3: (1,1) int 18 == int [ 11][ 1]POSITIVE_4: (1,1) int 18 == int [ 12][ 1]POSITIVE_5: (1,1) int 18 == int [ 13][ 1]POSITIVE_6: (1,1) int 18 == int [ 14][ 1]POSITIVE_7: (1,1) int 18 == int [ 15][ 1]POSITIVE_1: (1,1) int 0 == int [ 16][ 1]POSITIVE_2: (1,1) int 0 == int [ 17][ 1]POSITIVE_3: (1,1) int 0 == int [ 18][ 1]POSITIVE_4: (1,1) int 0 == int [ 19][ 1]POSITIVE_5: (1,1) int 0 == int [ 20][ 1]POSITIVE_6: (1,1) int 0 == int [ 21][ 1]POSITIVE_7: (1,1) int 0 == int [ 22][ 1]POSITIVE_1: (1,1) int -36 == int [ 23][ 1]POSITIVE_2: (1,1) int -36 == int [ 24][ 1]POSITIVE_3: (1,1) int -36 == int [ 25][ 1]POSITIVE_4: (1,1) int -36 == int [ 26][ 1]POSITIVE_5: (1,1) int -36 == int [ 27][ 1]POSITIVE_6: (1,1) int -36 == int [ 28][ 1]POSITIVE_7: (1,1) int -36 == int ok testEmptyLast (__main__.EmptyChoiceTestCase) ... ok testEmptyNonLast (__main__.EmptyChoiceTestCase) ... ok testExtract (__main__.ExtractTestCase) ... [ 2][ 1]START: (1,1) _tok_1 ( == _tok_1 [ 4][ 1]START: (1,2) _tok_3 ) == _tok_3 [ 5][ 1]START: (1,4) _tok_1 ( == _tok_1 [ 7][ 1]START: (1,5) _tok_3 ) == _tok_3 [ 9][ 1]START: (1,3) _tok_1 ( == _tok_1 [ 11][ 1]START: (1,5) _tok_3 ) == _tok_3 [ 12][ 1]START: (1,7) _tok_1 ( == _tok_1 [ 14][ 1]START: (1,10) _tok_3 ) == _tok_3 [ 16][ 1]START: (1,1) _tok_1 ( == _tok_1 [ 17][ 1]START: (1,2) _tok_2 a == _tok_2 [ 18][ 1]START: (1,4) _tok_2 b == _tok_2 [ 20][ 1]START: (1,5) _tok_3 ) == _tok_3 [ 21][ 1]START: (1,8) _tok_1 ( == _tok_1 [ 22][ 1]START: (1,9) _tok_2 c == _tok_2 [ 23][ 1]START: (1,12) _tok_2 d == _tok_2 [ 25][ 1]START: (1,13) _tok_3 ) == _tok_3 [ 27][ 1]START: (1,3) _tok_1 ( == _tok_1 [ 28][ 1]START: (1,4) _tok_2 a == _tok_2 [ 29][ 1]START: (1,6) _tok_2 b == _tok_2 [ 31][ 1]START: (1,7) _tok_3 ) == _tok_3 [ 32][ 1]START: (1,10) _tok_1 ( == _tok_1 [ 33][ 1]START: (1,13) _tok_2 c == _tok_2 [ 34][ 1]START: (1,16) _tok_2 d == _tok_2 [ 36][ 1]START: (1,20) _tok_3 ) == _tok_3 ok testDotAll (__main__.LexerOptionsTestCase) ... ok testIgnoreCase (__main__.LexerOptionsTestCase) ... ok testMultiline (__main__.LexerOptionsTestCase) ... ok testNotDotAll (__main__.LexerOptionsTestCase) ... ok testNotIgnoreCase (__main__.LexerOptionsTestCase) ... ok testNotMultiline (__main__.LexerOptionsTestCase) ... ok testNotVerbose (__main__.LexerOptionsTestCase) ... ok testNotWordBound (__main__.LexerOptionsTestCase) ... ok testVerbose (__main__.LexerOptionsTestCase) ... ok testWordBound (__main__.LexerOptionsTestCase) ... ok testWordBounded2 (__main__.LexerOptionsTestCase) ... ok testLexers (__main__.LexersTestCase) ... ok testPositions (__main__.LexersTestCase) ... ok testExpr (__main__.PyExprTestCase) ... [ 1][ 1]START: (1,1) _tok_1 1 == _tok_1 [ 3][ 1]START: (1,1) _tok_2 2 == _tok_2 [ 6][ 1]START: (1,1) _tok_3 3 == _tok_3 ok testPlus (__main__.RepetitionTestCase) ... [ 2][ 1]PLUS: (1,1) w a == w [ 4][ 1]PLUS: (1,1) w a == w [ 5][ 1]PLUS: (1,3) w b == w [ 7][ 1]PLUS: (1,1) w a == w [ 8][ 1]PLUS: (1,3) w b == w [ 9][ 1]PLUS: (1,5) w c == w [ 10][ 1]PLUS: (1,7) w d == w [ 11][ 1]PLUS: (1,9) w e == w [ 12][ 1]PLUS: (1,11) w f == w ok testQuestion (__main__.RepetitionTestCase) ... [ 2][ 1]QUES: (1,1) w a == w [ 3][ 1]QUES: (1,1) w a == w [ 4][ 1]QUES: (1,1) w a == w ok testREP1 (__main__.RepetitionTestCase) ... ok testREP2 (__main__.RepetitionTestCase) ... [ 1][ 1]REP2: (1,1) w 1 == w [ 3][ 1]REP2: (1,1) w 1 == w [ 4][ 1]REP2: (1,3) w 2 == w [ 6][ 1]REP2: (1,1) w 1 == w [ 7][ 1]REP2: (1,3) w 2 == w [ 8][ 1]REP2: (1,5) w 3 == w [ 9][ 1]REP2: (1,1) w 1 == w [ 10][ 1]REP2: (1,3) w 2 == w [ 11][ 1]REP2: (1,5) w 3 == w [ 12][ 1]REP2: (1,1) w 1 == w [ 13][ 1]REP2: (1,3) w 2 == w [ 14][ 1]REP2: (1,5) w 3 == w ok testREP3 (__main__.RepetitionTestCase) ... [ 2][ 1]REP3: (1,1) w 1 == w [ 4][ 1]REP3: (1,1) w 1 == w [ 5][ 1]REP3: (1,3) w 2 == w [ 7][ 1]REP3: (1,1) w 1 == w [ 8][ 1]REP3: (1,3) w 2 == w [ 9][ 1]REP3: (1,5) w 3 == w [ 11][ 1]REP3: (1,1) w 1 == w [ 12][ 1]REP3: (1,3) w 2 == w [ 13][ 1]REP3: (1,5) w 3 == w [ 14][ 1]REP3: (1,7) w 4 == w [ 16][ 1]REP3: (1,1) w 1 == w [ 17][ 1]REP3: (1,3) w 2 == w [ 18][ 1]REP3: (1,5) w 3 == w [ 19][ 1]REP3: (1,7) w 4 == w [ 20][ 1]REP3: (1,9) w 5 == w [ 22][ 1]REP3: (1,1) w 1 == w [ 23][ 1]REP3: (1,3) w 2 == w [ 24][ 1]REP3: (1,5) w 3 == w [ 25][ 1]REP3: (1,7) w 4 == w [ 26][ 1]REP3: (1,9) w 5 == w [ 27][ 1]REP3: (1,11) w 6 == w ok testREP4 (__main__.RepetitionTestCase) ... [ 2][ 1]REP4: (1,1) w 1 == w [ 4][ 1]REP4: (1,1) w 1 == w [ 5][ 1]REP4: (1,3) w 2 == w [ 7][ 1]REP4: (1,1) w 1 == w [ 8][ 1]REP4: (1,3) w 2 == w [ 9][ 1]REP4: (1,5) w 3 == w [ 10][ 1]REP4: (1,1) w 1 == w [ 11][ 1]REP4: (1,3) w 2 == w [ 12][ 1]REP4: (1,5) w 3 == w [ 13][ 1]REP4: (1,1) w 1 == w [ 14][ 1]REP4: (1,3) w 2 == w [ 15][ 1]REP4: (1,5) w 3 == w [ 16][ 1]REP4: (1,1) w 1 == w [ 17][ 1]REP4: (1,3) w 2 == w [ 18][ 1]REP4: (1,5) w 3 == w ok testREP5 (__main__.RepetitionTestCase) ... [ 2][ 1]REP5: (1,1) w 1 == w [ 4][ 1]REP5: (1,1) w 1 == w [ 5][ 1]REP5: (1,3) w 2 == w [ 7][ 1]REP5: (1,1) w 1 == w [ 8][ 1]REP5: (1,3) w 2 == w [ 9][ 1]REP5: (1,5) w 3 == w [ 11][ 1]REP5: (1,1) w 1 == w [ 12][ 1]REP5: (1,3) w 2 == w [ 13][ 1]REP5: (1,5) w 3 == w [ 14][ 1]REP5: (1,7) w 4 == w [ 15][ 1]REP5: (1,9) w 5 == w [ 16][ 1]REP5: (1,11) w 6 == w ok testREP6 (__main__.RepetitionTestCase) ... [ 2][ 1]REP6: (1,1) w 1 == w [ 4][ 1]REP6: (1,1) w 1 == w [ 5][ 1]REP6: (1,3) w 2 == w [ 7][ 1]REP6: (1,1) w 1 == w [ 8][ 1]REP6: (1,3) w 2 == w [ 9][ 1]REP6: (1,5) w 3 == w [ 11][ 1]REP6: (1,1) w 1 == w [ 12][ 1]REP6: (1,3) w 2 == w [ 13][ 1]REP6: (1,5) w 3 == w [ 14][ 1]REP6: (1,7) w 4 == w [ 16][ 1]REP6: (1,1) w 1 == w [ 17][ 1]REP6: (1,3) w 2 == w [ 18][ 1]REP6: (1,5) w 3 == w [ 19][ 1]REP6: (1,7) w 4 == w [ 20][ 1]REP6: (1,9) w 5 == w [ 21][ 1]REP6: (1,1) w 1 == w [ 22][ 1]REP6: (1,3) w 2 == w [ 23][ 1]REP6: (1,5) w 3 == w [ 24][ 1]REP6: (1,7) w 4 == w [ 25][ 1]REP6: (1,9) w 5 == w ok testStar (__main__.RepetitionTestCase) ... [ 2][ 1]STAR: (1,1) w a == w [ 4][ 1]STAR: (1,1) w a == w [ 5][ 1]STAR: (1,3) w b == w [ 7][ 1]STAR: (1,1) w a == w [ 8][ 1]STAR: (1,3) w b == w [ 9][ 1]STAR: (1,5) w c == w [ 10][ 1]STAR: (1,7) w d == w [ 11][ 1]STAR: (1,9) w e == w [ 12][ 1]STAR: (1,11) w f == w ok testTokenInfo (__main__.TokenInfoTestCase) ... [ 2][ 1]START: (1,2) tok ( ) == tok [ 3][ 1]START: (1,6) tok ( ) == tok [ 4][ 1]START: (2,3) tok (w) == tok ok testExpr (__main__.UnicodeTestCase) ... [ 1][ 1]START: (1,1) double_quote " == double_quote [ 2][ 1]START: (1,2) word woah == word [ 3][ 1]START: (1,6) double_quote " == double_quote ERROR ====================================================================== ERROR: testExpr (__main__.UnicodeTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "tpg_tests.py", line 845, in testExpr self.assertEquals(p(u"“woah”"), "woah") File "/var/tmp/portage/dev-python/tpg-3.1.2/work/TPG-3.1.2/tpg.py", line 944, in __call__ return self.parse('START', input, *args, **kws) File "/var/tmp/portage/dev-python/tpg-3.1.2/work/TPG-3.1.2/tpg.py", line 1131, in parse return Parser.parse(self, axiom, input, *args, **kws) File "/var/tmp/portage/dev-python/tpg-3.1.2/work/TPG-3.1.2/tpg.py", line 961, in parse value = getattr(self, axiom)(*args, **kws) File "", line 5, in START File "/var/tmp/portage/dev-python/tpg-3.1.2/work/TPG-3.1.2/tpg.py", line 1113, in eatCSL print self.token_info(token, "==", name) UnicodeEncodeError: 'ascii' codec can't encode character u'\u201c' in position 35: ordinal not in range(128) ---------------------------------------------------------------------- Ran 32 tests in 0.038s FAILED (errors=1) * ERROR: dev-python/tpg-3.1.2 failed: * tests failed * * Call stack: * ebuild.sh, line 56: Called src_test * environment, line 3439: Called die * The specific snippet of code: * "${python}" tpg_tests.py -v || die "tests failed" * * If you need support, post the output of 'emerge --info =dev-python/tpg-3.1.2', * the complete build log and the output of 'emerge -pqv =dev-python/tpg-3.1.2'. * The complete build log is located at '/var/log/portage/build/dev-python/tpg-3.1.2:20101027-224634.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/tpg-3.1.2/temp/environment'. * S: '/var/tmp/portage/dev-python/tpg-3.1.2/work/TPG-3.1.2' >>> Install tpg-3.1.2 into /var/tmp/portage/dev-python/tpg-3.1.2/image/ category dev-python python2.7 setup.py install --root=/var/tmp/portage/dev-python/tpg-3.1.2/image/ --no-compile running install running build running build_py warning: build_py: byte-compiling is disabled, skipping. running build_scripts running install_lib creating /var/tmp/portage/dev-python/tpg-3.1.2/image/usr creating /var/tmp/portage/dev-python/tpg-3.1.2/image/usr/lib64 creating /var/tmp/portage/dev-python/tpg-3.1.2/image/usr/lib64/python2.7 creating /var/tmp/portage/dev-python/tpg-3.1.2/image/usr/lib64/python2.7/site-packages copying build/lib/tpg.py -> /var/tmp/portage/dev-python/tpg-3.1.2/image/usr/lib64/python2.7/site-packages warning: install_lib: byte-compiling is disabled, skipping. running install_scripts creating /var/tmp/portage/dev-python/tpg-3.1.2/image/usr/bin copying build/scripts-2.7/tpg -> /var/tmp/portage/dev-python/tpg-3.1.2/image/usr/bin changing mode of /var/tmp/portage/dev-python/tpg-3.1.2/image/usr/bin/tpg to 755 running install_egg_info Writing /var/tmp/portage/dev-python/tpg-3.1.2/image/usr/lib64/python2.7/site-packages/TPG-3.1.2-py2.7.egg-info >>> Completed installing tpg-3.1.2 into /var/tmp/portage/dev-python/tpg-3.1.2/image/