* CPV: dev-python/ruledispatch-0.5_pre2306-r1 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib test userland_GNU >>> Unpacking source... >>> Unpacking RuleDispatch-0.5a0.dev-r2306.tar.gz to /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work >>> Source unpacked in /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work >>> Preparing source in /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch ... * Applying ruledispatch_as_syntax_fix.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch ... * Building of dev-python/ruledispatch-0.5_pre2306-r1 with CPython 2.6... python2.6 setup.py build -b build-2.6  running build running build_py creating build-2.6 creating build-2.6/lib.linux-x86_64-2.6 creating build-2.6/lib.linux-x86_64-2.6/dispatch copying src/dispatch/ast_builder.py -> build-2.6/lib.linux-x86_64-2.6/dispatch copying src/dispatch/__init__.py -> build-2.6/lib.linux-x86_64-2.6/dispatch copying src/dispatch/predicates.py -> build-2.6/lib.linux-x86_64-2.6/dispatch copying src/dispatch/strategy.py -> build-2.6/lib.linux-x86_64-2.6/dispatch copying src/dispatch/interfaces.py -> build-2.6/lib.linux-x86_64-2.6/dispatch copying src/dispatch/combiners.py -> build-2.6/lib.linux-x86_64-2.6/dispatch copying src/dispatch/functions.py -> build-2.6/lib.linux-x86_64-2.6/dispatch creating build-2.6/lib.linux-x86_64-2.6/dispatch/tests copying src/dispatch/tests/__init__.py -> build-2.6/lib.linux-x86_64-2.6/dispatch/tests copying src/dispatch/tests/test_parsing.py -> build-2.6/lib.linux-x86_64-2.6/dispatch/tests copying src/dispatch/tests/test_dispatch.py -> build-2.6/lib.linux-x86_64-2.6/dispatch/tests copying src/dispatch/tests/doctest.py -> build-2.6/lib.linux-x86_64-2.6/dispatch/tests copying src/dispatch/combiners.txt -> build-2.6/lib.linux-x86_64-2.6/dispatch warning: build_py: byte-compiling is disabled, skipping. running build_ext building 'dispatch._d_speedups' extension creating build-2.6/temp.linux-x86_64-2.6 creating build-2.6/temp.linux-x86_64-2.6/src creating build-2.6/temp.linux-x86_64-2.6/src/dispatch x86_64-pc-linux-gnu-gcc -pthread -march=core2 -pipe -O2 -fno-ident -fno-strict-aliasing -fPIC -I/usr/include/python2.6 -c src/dispatch/_d_speedups.c -o build-2.6/temp.linux-x86_64-2.6/src/dispatch/_d_speedups.o src/dispatch/_d_speedups.c: In function ‘__pyx_f_11_d_speedups_dispatch_by_mro’: src/dispatch/_d_speedups.c:801: warning: assignment from incompatible pointer type src/dispatch/_d_speedups.c:808: warning: assignment from incompatible pointer type src/dispatch/_d_speedups.c: At top level: src/dispatch/_d_speedups.c:1963: warning: initialization from incompatible pointer type src/dispatch/_d_speedups.c:2112: warning: initialization from incompatible pointer type x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1,--as-needed,--gc-sections,--hash-style=gnu,--sort-common -march=core2 -pipe -O2 -fno-ident -fno-strict-aliasing build-2.6/temp.linux-x86_64-2.6/src/dispatch/_d_speedups.o -L/usr/lib64 -lpython2.6 -o build-2.6/lib.linux-x86_64-2.6/dispatch/_d_speedups.so * Building of dev-python/ruledispatch-0.5_pre2306-r1 with CPython 2.7... python2.7 setup.py build -b build-2.7  running build running build_py creating build-2.7 creating build-2.7/lib.linux-x86_64-2.7 creating build-2.7/lib.linux-x86_64-2.7/dispatch copying src/dispatch/ast_builder.py -> build-2.7/lib.linux-x86_64-2.7/dispatch copying src/dispatch/__init__.py -> build-2.7/lib.linux-x86_64-2.7/dispatch copying src/dispatch/predicates.py -> build-2.7/lib.linux-x86_64-2.7/dispatch copying src/dispatch/strategy.py -> build-2.7/lib.linux-x86_64-2.7/dispatch copying src/dispatch/interfaces.py -> build-2.7/lib.linux-x86_64-2.7/dispatch copying src/dispatch/combiners.py -> build-2.7/lib.linux-x86_64-2.7/dispatch copying src/dispatch/functions.py -> build-2.7/lib.linux-x86_64-2.7/dispatch creating build-2.7/lib.linux-x86_64-2.7/dispatch/tests copying src/dispatch/tests/__init__.py -> build-2.7/lib.linux-x86_64-2.7/dispatch/tests copying src/dispatch/tests/test_parsing.py -> build-2.7/lib.linux-x86_64-2.7/dispatch/tests copying src/dispatch/tests/test_dispatch.py -> build-2.7/lib.linux-x86_64-2.7/dispatch/tests copying src/dispatch/tests/doctest.py -> build-2.7/lib.linux-x86_64-2.7/dispatch/tests copying src/dispatch/combiners.txt -> build-2.7/lib.linux-x86_64-2.7/dispatch warning: build_py: byte-compiling is disabled, skipping. running build_ext building 'dispatch._d_speedups' extension creating build-2.7/temp.linux-x86_64-2.7 creating build-2.7/temp.linux-x86_64-2.7/src creating build-2.7/temp.linux-x86_64-2.7/src/dispatch x86_64-pc-linux-gnu-gcc -pthread -march=core2 -pipe -O2 -fno-ident -fno-strict-aliasing -fPIC -I/usr/include/python2.7 -c src/dispatch/_d_speedups.c -o build-2.7/temp.linux-x86_64-2.7/src/dispatch/_d_speedups.o src/dispatch/_d_speedups.c: In function ‘__pyx_f_11_d_speedups_dispatch_by_mro’: src/dispatch/_d_speedups.c:801: warning: assignment from incompatible pointer type src/dispatch/_d_speedups.c:808: warning: assignment from incompatible pointer type src/dispatch/_d_speedups.c: At top level: src/dispatch/_d_speedups.c:1963: warning: initialization from incompatible pointer type src/dispatch/_d_speedups.c:2112: warning: initialization from incompatible pointer type x86_64-pc-linux-gnu-gcc -pthread -shared -Wl,-O1,--as-needed,--gc-sections,--hash-style=gnu,--sort-common -march=core2 -pipe -O2 -fno-ident -fno-strict-aliasing build-2.7/temp.linux-x86_64-2.7/src/dispatch/_d_speedups.o -L/usr/lib64 -lpython2.7 -o build-2.7/lib.linux-x86_64-2.7/dispatch/_d_speedups.so >>> Source compiled. * Testing of dev-python/ruledispatch-0.5_pre2306-r1 with CPython 2.6... PYTHONPATH=build-2.6/lib.linux-x86_64-2.6 python2.6 setup.py build -b build-2.6 test  running build running build_py warning: build_py: byte-compiling is disabled, skipping. running build_ext running test running egg_info creating src/RuleDispatch.egg-info writing src/RuleDispatch.egg-info/PKG-INFO writing top-level names to src/RuleDispatch.egg-info/top_level.txt writing dependency_links to src/RuleDispatch.egg-info/dependency_links.txt writing manifest file 'src/RuleDispatch.egg-info/SOURCES.txt' writing manifest file 'src/RuleDispatch.egg-info/SOURCES.txt' running build_ext copying build-2.6/lib.linux-x86_64-2.6/dispatch/_d_speedups.so -> src/dispatch /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/predicates.py:379: DeprecationWarning: object.__new__() takes no parameters return ExprBase.__new__(klass,function,*argexprs) Doctest: combiners.txt ... ok testItems (dispatch.tests.test_dispatch.TestGraph) ... ok testSuccessors (dispatch.tests.test_dispatch.TestGraph) ... ok testAndOr (dispatch.tests.test_dispatch.CriteriaTests) ... ok testClassCriteriaMembership (dispatch.tests.test_dispatch.CriteriaTests) ... ok testClassCriteriaSeedsAndDispatchFunctions (dispatch.tests.test_dispatch.CriteriaTests) ... /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/strategy.py:440: DeprecationWarning: object.__new__() takes no parameters return NotCriterion(self) ok testClassIntersections (dispatch.tests.test_dispatch.CriteriaTests) ... /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/tests/test_dispatch.py:518: DeprecationWarning: object.__new__() takes no parameters self.failUnless( Speedboat in NotCriterion(LandVehicle) ) /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/tests/test_dispatch.py:523: DeprecationWarning: object.__new__() takes no parameters self.failIf( NotCriterion(LandVehicle).implies(NotCriterion(Wheeled)) ) ok testClasslessDispatch (dispatch.tests.test_dispatch.CriteriaTests) ... ok testCriterionAdaptation (dispatch.tests.test_dispatch.CriteriaTests) ... ok testIdentityCriterion (dispatch.tests.test_dispatch.CriteriaTests) ... ok testIdentityDispatch (dispatch.tests.test_dispatch.CriteriaTests) ... ok testIndexAnd (dispatch.tests.test_dispatch.CriteriaTests) ... ok testIndexEnumerables (dispatch.tests.test_dispatch.CriteriaTests) ... ok testIndexNot (dispatch.tests.test_dispatch.CriteriaTests) ... ok testInequalities (dispatch.tests.test_dispatch.CriteriaTests) ... ok testInequalityDispatch (dispatch.tests.test_dispatch.CriteriaTests) ... ok testInequalityInverses (dispatch.tests.test_dispatch.CriteriaTests) ... ok testInequalitySeeds (dispatch.tests.test_dispatch.CriteriaTests) ... ok testMinMax (dispatch.tests.test_dispatch.CriteriaTests) ... ok testNullCriterion (dispatch.tests.test_dispatch.CriteriaTests) ... ok testPointers (dispatch.tests.test_dispatch.CriteriaTests) ... ok testProtocolCriterion (dispatch.tests.test_dispatch.CriteriaTests) ... ok testRangeIntersection (dispatch.tests.test_dispatch.CriteriaTests) ... ok testSeededIndex (dispatch.tests.test_dispatch.CriteriaTests) ... ok testSignatureArithmetic (dispatch.tests.test_dispatch.CriteriaTests) ... ok testSignatureOrdering (dispatch.tests.test_dispatch.CriteriaTests) ... ok testSignatures (dispatch.tests.test_dispatch.CriteriaTests) ... ok testSimplifications (dispatch.tests.test_dispatch.CriteriaTests) ... ok testSubclassCriterion (dispatch.tests.test_dispatch.CriteriaTests) ... ok testTestImplication (dispatch.tests.test_dispatch.CriteriaTests) ... ok testTruth (dispatch.tests.test_dispatch.CriteriaTests) ... ok testTruthDispatch (dispatch.tests.test_dispatch.CriteriaTests) ... ok testAndExpr (dispatch.tests.test_dispatch.ExpressionTests) ... /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/predicates.py:211: DeprecationWarning: object.__new__() takes no parameters return ExprBase.__new__(klass,*argexprs) ok testArgumentBasics (dispatch.tests.test_dispatch.ExpressionTests) ... ok testArgumentCanonicalization (dispatch.tests.test_dispatch.ExpressionTests) ... ok testCalls (dispatch.tests.test_dispatch.ExpressionTests) ... ok testConsts (dispatch.tests.test_dispatch.ExpressionTests) ... ok testGetattr (dispatch.tests.test_dispatch.ExpressionTests) ... ok testIfElse (dispatch.tests.test_dispatch.ExpressionTests) ... ok testOrExpr (dispatch.tests.test_dispatch.ExpressionTests) ... ok testTuple (dispatch.tests.test_dispatch.ExpressionTests) ... /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/predicates.py:294: DeprecationWarning: object.__new__() takes no parameters return ExprBase.__new__(klass,function,*argexprs) ok testAdaptedDefinition (dispatch.tests.test_dispatch.SimpleGenerics) ... ok testAltArg (dispatch.tests.test_dispatch.SimpleGenerics) ... ok testInstanceMethod (dispatch.tests.test_dispatch.SimpleGenerics) ... ok testMultiDefinition (dispatch.tests.test_dispatch.SimpleGenerics) ... ok testSimpleDefinitions (dispatch.tests.test_dispatch.SimpleGenerics) ... ok testTrivialities (dispatch.tests.test_dispatch.SimpleGenerics) ... ok testWhenMethods (dispatch.tests.test_dispatch.SimpleGenerics) ... ok testAmbiguity (dispatch.tests.test_dispatch.GenericTests) ... ok testArgNormalization (dispatch.tests.test_dispatch.GenericTests) ... ok testBasicSingleDispatch (dispatch.tests.test_dispatch.GenericTests) ... ok testDynamic (dispatch.tests.test_dispatch.GenericTests) ... ok testInstanceMethods (dispatch.tests.test_dispatch.GenericTests) ... ok testKwArgHandling (dispatch.tests.test_dispatch.GenericTests) ... ok testMRO (dispatch.tests.test_dispatch.GenericTests) ... ok testSimpleChaining (dispatch.tests.test_dispatch.GenericTests) ... ok testSimpleDoubleDispatchAndNamedArgs (dispatch.tests.test_dispatch.GenericTests) ... ok testSimpleMultiDispatch (dispatch.tests.test_dispatch.GenericTests) ... ok testSubclassDispatch (dispatch.tests.test_dispatch.GenericTests) ... ok testSubexpressionOrderingConstraints (dispatch.tests.test_dispatch.GenericTests) ... ok testVarArgHandling (dispatch.tests.test_dispatch.GenericTests) ... ok test_NoApplicableMethods_is_raised (dispatch.tests.test_dispatch.GenericTests) ... ok testAssociativity (dispatch.tests.test_parsing.EventTests) ... ok testCalls (dispatch.tests.test_parsing.EventTests) ... ok testCompare (dispatch.tests.test_parsing.EventTests) ... ok testIfElse (dispatch.tests.test_parsing.EventTests) ... ok testMultiOps (dispatch.tests.test_parsing.EventTests) ... ok testSequences (dispatch.tests.test_parsing.EventTests) ... ok testSimpleBinaries (dispatch.tests.test_parsing.EventTests) ... ok testSimpleUnaries (dispatch.tests.test_parsing.EventTests) ... ok testSubscripts (dispatch.tests.test_parsing.EventTests) ... ok testTokens (dispatch.tests.test_parsing.EventTests) ... ok testCalls (dispatch.tests.test_parsing.ExprBuilderTests) ... /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/predicates.py:376: DeprecationWarning: object.__new__() takes no parameters return ExprBase.__new__(klass,function) ok testCompare (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testConstantFolding (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testIfElse (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testMultiOps (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testSequences (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testSimpleBinariesAndUnaries (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testSubscripts (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testSymbols (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testTokens (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testTrivialMacros (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testCompileIn (dispatch.tests.test_parsing.PredicateTests) ... ok testParseDNF (dispatch.tests.test_parsing.PredicateTests) ... /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/tests/test_parsing.py:878: DeprecationWarning: object.__new__() takes no parameters Signature(x=NotCriterion(int),y=NotCriterion(str)) /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/tests/test_parsing.py:882: DeprecationWarning: object.__new__() takes no parameters Signature(x=NotCriterion(int)), Signature(y=NotCriterion(str)) ok testParseExpressionMatching (dispatch.tests.test_parsing.PredicateTests) ... ok testParseInequalities (dispatch.tests.test_parsing.PredicateTests) ... ok testParseMembership (dispatch.tests.test_parsing.PredicateTests) ... /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/tests/test_parsing.py:744: DeprecationWarning: object.__new__() takes no parameters self.assertEqual(pe('x not in int'), Signature(x=NotCriterion(int))) /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/tests/test_parsing.py:772: DeprecationWarning: object.__new__() takes no parameters Signature(x=NotCriterion(types.NoneType))) /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/tests/test_parsing.py:776: DeprecationWarning: object.__new__() takes no parameters Signature(x=NotCriterion(types.NoneType))) ok testSimplePreds (dispatch.tests.test_parsing.PredicateTests) ... ok ---------------------------------------------------------------------- Ran 89 tests in 0.250s OK [?1034h * Testing of dev-python/ruledispatch-0.5_pre2306-r1 with CPython 2.7... PYTHONPATH=build-2.7/lib.linux-x86_64-2.7 python2.7 setup.py build -b build-2.7 test  running build running build_py warning: build_py: byte-compiling is disabled, skipping. running build_ext running test running egg_info writing src/RuleDispatch.egg-info/PKG-INFO writing top-level names to src/RuleDispatch.egg-info/top_level.txt writing dependency_links to src/RuleDispatch.egg-info/dependency_links.txt writing manifest file 'src/RuleDispatch.egg-info/SOURCES.txt' running build_ext copying build-2.7/lib.linux-x86_64-2.7/dispatch/_d_speedups.so -> src/dispatch /var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/combiners.txt Doctest: combiners.txt ... ok testItems (dispatch.tests.test_dispatch.TestGraph) ... ok testSuccessors (dispatch.tests.test_dispatch.TestGraph) ... ok testAndOr (dispatch.tests.test_dispatch.CriteriaTests) ... ok testClassCriteriaMembership (dispatch.tests.test_dispatch.CriteriaTests) ... ok testClassCriteriaSeedsAndDispatchFunctions (dispatch.tests.test_dispatch.CriteriaTests) ... ok testClassIntersections (dispatch.tests.test_dispatch.CriteriaTests) ... ok testClasslessDispatch (dispatch.tests.test_dispatch.CriteriaTests) ... ok testCriterionAdaptation (dispatch.tests.test_dispatch.CriteriaTests) ... ok testIdentityCriterion (dispatch.tests.test_dispatch.CriteriaTests) ... ok testIdentityDispatch (dispatch.tests.test_dispatch.CriteriaTests) ... ok testIndexAnd (dispatch.tests.test_dispatch.CriteriaTests) ... ok testIndexEnumerables (dispatch.tests.test_dispatch.CriteriaTests) ... ok testIndexNot (dispatch.tests.test_dispatch.CriteriaTests) ... ok testInequalities (dispatch.tests.test_dispatch.CriteriaTests) ... ok testInequalityDispatch (dispatch.tests.test_dispatch.CriteriaTests) ... ok testInequalityInverses (dispatch.tests.test_dispatch.CriteriaTests) ... ok testInequalitySeeds (dispatch.tests.test_dispatch.CriteriaTests) ... ok testMinMax (dispatch.tests.test_dispatch.CriteriaTests) ... ok testNullCriterion (dispatch.tests.test_dispatch.CriteriaTests) ... ok testPointers (dispatch.tests.test_dispatch.CriteriaTests) ... FAIL testProtocolCriterion (dispatch.tests.test_dispatch.CriteriaTests) ... ok testRangeIntersection (dispatch.tests.test_dispatch.CriteriaTests) ... ok testSeededIndex (dispatch.tests.test_dispatch.CriteriaTests) ... ok testSignatureArithmetic (dispatch.tests.test_dispatch.CriteriaTests) ... ok testSignatureOrdering (dispatch.tests.test_dispatch.CriteriaTests) ... ok testSignatures (dispatch.tests.test_dispatch.CriteriaTests) ... ok testSimplifications (dispatch.tests.test_dispatch.CriteriaTests) ... ok testSubclassCriterion (dispatch.tests.test_dispatch.CriteriaTests) ... ok testTestImplication (dispatch.tests.test_dispatch.CriteriaTests) ... ok testTruth (dispatch.tests.test_dispatch.CriteriaTests) ... ok testTruthDispatch (dispatch.tests.test_dispatch.CriteriaTests) ... ok testAndExpr (dispatch.tests.test_dispatch.ExpressionTests) ... ok testArgumentBasics (dispatch.tests.test_dispatch.ExpressionTests) ... ok testArgumentCanonicalization (dispatch.tests.test_dispatch.ExpressionTests) ... ok testCalls (dispatch.tests.test_dispatch.ExpressionTests) ... ok testConsts (dispatch.tests.test_dispatch.ExpressionTests) ... ok testGetattr (dispatch.tests.test_dispatch.ExpressionTests) ... ok testIfElse (dispatch.tests.test_dispatch.ExpressionTests) ... ok testOrExpr (dispatch.tests.test_dispatch.ExpressionTests) ... ok testTuple (dispatch.tests.test_dispatch.ExpressionTests) ... ok testAdaptedDefinition (dispatch.tests.test_dispatch.SimpleGenerics) ... ok testAltArg (dispatch.tests.test_dispatch.SimpleGenerics) ... ok testInstanceMethod (dispatch.tests.test_dispatch.SimpleGenerics) ... ok testMultiDefinition (dispatch.tests.test_dispatch.SimpleGenerics) ... ok testSimpleDefinitions (dispatch.tests.test_dispatch.SimpleGenerics) ... ok testTrivialities (dispatch.tests.test_dispatch.SimpleGenerics) ... ok testWhenMethods (dispatch.tests.test_dispatch.SimpleGenerics) ... ok testAmbiguity (dispatch.tests.test_dispatch.GenericTests) ... ok testArgNormalization (dispatch.tests.test_dispatch.GenericTests) ... ok testBasicSingleDispatch (dispatch.tests.test_dispatch.GenericTests) ... ok testDynamic (dispatch.tests.test_dispatch.GenericTests) ... ok testInstanceMethods (dispatch.tests.test_dispatch.GenericTests) ... ok testKwArgHandling (dispatch.tests.test_dispatch.GenericTests) ... ok testMRO (dispatch.tests.test_dispatch.GenericTests) ... ok testSimpleChaining (dispatch.tests.test_dispatch.GenericTests) ... ok testSimpleDoubleDispatchAndNamedArgs (dispatch.tests.test_dispatch.GenericTests) ... ok testSimpleMultiDispatch (dispatch.tests.test_dispatch.GenericTests) ... ok testSubclassDispatch (dispatch.tests.test_dispatch.GenericTests) ... ok testSubexpressionOrderingConstraints (dispatch.tests.test_dispatch.GenericTests) ... ok testVarArgHandling (dispatch.tests.test_dispatch.GenericTests) ... ok test_NoApplicableMethods_is_raised (dispatch.tests.test_dispatch.GenericTests) ... ok testAssociativity (dispatch.tests.test_parsing.EventTests) ... ok testCalls (dispatch.tests.test_parsing.EventTests) ... ok testCompare (dispatch.tests.test_parsing.EventTests) ... ok testIfElse (dispatch.tests.test_parsing.EventTests) ... ok testMultiOps (dispatch.tests.test_parsing.EventTests) ... ok testSequences (dispatch.tests.test_parsing.EventTests) ... ERROR testSimpleBinaries (dispatch.tests.test_parsing.EventTests) ... ok testSimpleUnaries (dispatch.tests.test_parsing.EventTests) ... ok testSubscripts (dispatch.tests.test_parsing.EventTests) ... ok testTokens (dispatch.tests.test_parsing.EventTests) ... ok testCalls (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testCompare (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testConstantFolding (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testIfElse (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testMultiOps (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testSequences (dispatch.tests.test_parsing.ExprBuilderTests) ... ERROR testSimpleBinariesAndUnaries (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testSubscripts (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testSymbols (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testTokens (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testTrivialMacros (dispatch.tests.test_parsing.ExprBuilderTests) ... ok testCompileIn (dispatch.tests.test_parsing.PredicateTests) ... ok testParseDNF (dispatch.tests.test_parsing.PredicateTests) ... ok testParseExpressionMatching (dispatch.tests.test_parsing.PredicateTests) ... ERROR testParseInequalities (dispatch.tests.test_parsing.PredicateTests) ... ok testParseMembership (dispatch.tests.test_parsing.PredicateTests) ... ERROR testSimplePreds (dispatch.tests.test_parsing.PredicateTests) ... ok ====================================================================== ERROR: testSequences (dispatch.tests.test_parsing.EventTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/tests/test_parsing.py", line 173, in testSequences self.assertEqual(pe("(a,)"), "Tuple(a)") File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/tests/test_parsing.py", line 125, in pe = lambda s: parse_expr(s,sb) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 383, in parse_expr return build(builder, parser.expr(expr).totuple(1)[1]) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 378, in build return production[nodelist[0]](builder,nodelist) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 217, in atom return build(builder,nodelist[2]) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 378, in build return production[nodelist[0]](builder,nodelist) KeyError: 320 ====================================================================== ERROR: testSequences (dispatch.tests.test_parsing.ExprBuilderTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/tests/test_parsing.py", line 465, in testSequences self.assertEqual(pe("(a,)"), Tuple(tuple,a)) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/tests/test_parsing.py", line 341, in parse return parse_expr(expr, self.builder) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 383, in parse_expr return build(builder, parser.expr(expr).totuple(1)[1]) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 378, in build return production[nodelist[0]](builder,nodelist) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 217, in atom return build(builder,nodelist[2]) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 378, in build return production[nodelist[0]](builder,nodelist) KeyError: 320 ====================================================================== ERROR: testParseExpressionMatching (dispatch.tests.test_parsing.PredicateTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/tests/test_parsing.py", line 786, in testParseExpressionMatching self.assertEqual(pe('isinstance(x,(str,unicode))'), File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/tests/test_parsing.py", line 782, in pe = lambda e: parse(e,locals(),globals()) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/functions.py", line 326, in parse return parse_expr(expr_string,builder) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 383, in parse_expr return build(builder, parser.expr(expr).totuple(1)[1]) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 378, in build return production[nodelist[0]](builder,nodelist) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 178, in power return com_call_function(builder,nodelist,node[2]) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 284, in com_call_function return builder.CallFunc(primaryNode, args, kw, star_node, dstar_node) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/predicates.py", line 545, in method return expressionSignature(op(self.expr_builder,*args), self.mode) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/predicates.py", line 170, in CallFunc return Call(func.value, *[build(self,arg) for arg in args]) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 378, in build return production[nodelist[0]](builder,nodelist) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 217, in atom return build(builder,nodelist[2]) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 378, in build return production[nodelist[0]](builder,nodelist) KeyError: 320 ====================================================================== ERROR: testParseMembership (dispatch.tests.test_parsing.PredicateTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/tests/test_parsing.py", line 745, in testParseMembership self.assertEqual(pe('x in (1,2,3)'), File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/tests/test_parsing.py", line 741, in pe = lambda e: parse(e,locals(),globals()) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/functions.py", line 326, in parse return parse_expr(expr_string,builder) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 383, in parse_expr return build(builder, parser.expr(expr).totuple(1)[1]) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 378, in build return production[nodelist[0]](builder,nodelist) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 111, in comparison return builder.Compare(nodelist[1], results) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/predicates.py", line 577, in Compare right = build(self.expr_builder,other) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 378, in build return production[nodelist[0]](builder,nodelist) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 217, in atom return build(builder,nodelist[2]) File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/ast_builder.py", line 378, in build return production[nodelist[0]](builder,nodelist) KeyError: 320 ====================================================================== FAIL: testPointers (dispatch.tests.test_dispatch.CriteriaTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch/src/dispatch/tests/test_dispatch.py", line 264, in testPointers self.assertNotEqual(oid,ptr) AssertionError: 22485760 == Pointer() ---------------------------------------------------------------------- Ran 89 tests in 0.223s FAILED (failures=1, errors=4) [?1034h * ERROR: dev-python/ruledispatch-0.5_pre2306-r1 failed: * Testing failed with CPython 2.7 in distutils_testing() function * * Call stack: * ebuild.sh, line 47: Called src_test * environment, line 5139: Called distutils_src_test * environment, line 1659: Called python_execute_function 'distutils_testing' * environment, line 3816: Called die * The specific snippet of code: * die "${failure_message}"; * * If you need support, post the output of 'emerge --info =dev-python/ruledispatch-0.5_pre2306-r1', * the complete build log and the output of 'emerge -pqv =dev-python/ruledispatch-0.5_pre2306-r1'. * The complete build log is located at '/var/log/portage/build/dev-python/ruledispatch-0.5_pre2306-r1:20100629-205809.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/temp/environment'. * S: '/var/tmp/portage/dev-python/ruledispatch-0.5_pre2306-r1/work/RuleDispatch'