[PEAK] trying to run peak-rules on python3

Hervé Coatanhay herve.coatanhay at gmail.com
Wed Mar 20 10:54:18 EDT 2013


Skipped content of type multipart/alternative-------------- next part --------------
running test
running egg_info
writing requirements to PEAK_Rules.egg-info/requires.txt
writing PEAK_Rules.egg-info/PKG-INFO
writing namespace_packages to PEAK_Rules.egg-info/namespace_packages.txt
writing top-level names to PEAK_Rules.egg-info/top_level.txt
writing dependency_links to PEAK_Rules.egg-info/dependency_links.txt
reading manifest file 'PEAK_Rules.egg-info/SOURCES.txt'
writing manifest file 'PEAK_Rules.egg-info/SOURCES.txt'
running build_ext
test_basics (test_rules.DecompilationTests) ... ERROR
test_calls (test_rules.DecompilationTests) ... ERROR
test_dicts (test_rules.DecompilationTests) ... ERROR
test_paren_precedence (test_rules.DecompilationTests) ... ERROR
test_powers (test_rules.DecompilationTests) ... ERROR
test_slices (test_rules.DecompilationTests) ... ERROR
testAbstract (test_rules.MiscTests) ... ok
testAbstractRegeneration (test_rules.MiscTests) ... /Users/herve/Documents/workspace/nagare/python3-ports/peak-py3/PEAK-Rules-0.5a1.dev-r2713/peak/rules/core.py:139: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
  self.backup = c.code()
ok
testClassBodyRules (test_rules.MiscTests) ... /Users/herve/Documents/workspace/nagare/python3-ports/peak-py3/PEAK-Rules-0.5a1.dev-r2713/peak/rules/codegen.py:216: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
  func.__code__ = self.code.code()
ERROR
testCreateEngine (test_rules.MiscTests) ... /Users/herve/Documents/workspace/nagare/python3-ports/peak-py3/PEAK-Rules-0.5a1.dev-r2713/test_rules.py:120: DeprecationWarning: Please use assertTrue instead.
  self.failUnless(isinstance(new_engine, MyEngine))
ok
testEngineArgnames (test_rules.MiscTests) ... ok
testFlatPriorities (test_rules.MiscTests) ... /Users/herve/Documents/workspace/nagare/python3-ports/peak-py3/BytecodeAssembler-0.6/peak/util/assembler.py:1231: DeprecationWarning: tostring() is deprecated. Use tobytes() instead.
  return Const(eval(c.code()))
ERROR
testIndexClassicMRO (test_rules.MiscTests) ... ERROR
testIndexedEngine (test_rules.MiscTests) ... ERROR
testInheritance (test_rules.MiscTests) ... ERROR
testIsNot (test_rules.MiscTests) ... ERROR
testNamedGFExtension (test_rules.MiscTests) ... ERROR
testNotInherited (test_rules.MiscTests) ... ERROR
testParseInequalities (test_rules.MiscTests) ... ERROR
testPointers (test_rules.MiscTests) ... ERROR
testRuleSetClear (test_rules.MiscTests) ... ok
testRuleSetReentrance (test_rules.MiscTests) ... ok
testSignatureOfTruthTests (test_rules.MiscTests) ... ok
testTypeEngineKeywords (test_rules.MiscTests) ... ok
testTypeImplicationAndIsSubclassOrdering (test_rules.MiscTests) ... ERROR
testTypeVsIsTypePrecedence (test_rules.MiscTests) ... ok
test_istype_implies (test_rules.MiscTests) ... /Users/herve/Documents/workspace/nagare/python3-ports/peak-py3/PEAK-Rules-0.5a1.dev-r2713/test_rules.py:160: DeprecationWarning: Please use assertFalse instead.
  self.failIf(implies(istype(object, False), object))
ok
testClassNode (test_rules.NodeBuildingTests) ... ERROR
testIdentityNode (test_rules.NodeBuildingTests) ... ok
testRangeNode (test_rules.NodeBuildingTests) ... ERROR
testTruthNode (test_rules.NodeBuildingTests) ... ok
testKwArgHandling (test_rules.RuleDispatchTests) ... ERROR
testSimplePreds (test_rules.RuleDispatchTests) ... ERROR
testSingles (test_rules.RuleDispatchTests) ... ok
testSubclassDispatch (test_rules.RuleDispatchTests) ... ERROR
testTrivialities (test_rules.RuleDispatchTests) ... ok
testVarArgHandling (test_rules.RuleDispatchTests) ... ERROR
test_NoApplicableMethods_is_raised (test_rules.RuleDispatchTests) ... ERROR
testAroundDecoratorAndRetroactiveCombining (test_rules.TypeEngineTests) ... ok
testIntraSignatureCombinationAndRemoval (test_rules.TypeEngineTests) ... ok
/Users/herve/Documents/workspace/nagare/python3-ports/peak-py3/PEAK-Rules-0.5a1.dev-r2713/README.txt
Doctest: README.txt ... FAIL
/Users/herve/Documents/workspace/nagare/python3-ports/peak-py3/PEAK-Rules-0.5a1.dev-r2713/DESIGN.txt
Doctest: DESIGN.txt ... FAIL
/Users/herve/Documents/workspace/nagare/python3-ports/peak-py3/PEAK-Rules-0.5a1.dev-r2713/Indexing.txt
Doctest: Indexing.txt ... FAIL
/Users/herve/Documents/workspace/nagare/python3-ports/peak-py3/PEAK-Rules-0.5a1.dev-r2713/AST-Builder.txt
Doctest: AST-Builder.txt ... FAIL
/Users/herve/Documents/workspace/nagare/python3-ports/peak-py3/PEAK-Rules-0.5a1.dev-r2713/Code-Generation.txt
Doctest: Code-Generation.txt ... FAIL
/Users/herve/Documents/workspace/nagare/python3-ports/peak-py3/PEAK-Rules-0.5a1.dev-r2713/Syntax-Matching.txt
Doctest: Syntax-Matching.txt ... FAIL
/Users/herve/Documents/workspace/nagare/python3-ports/peak-py3/PEAK-Rules-0.5a1.dev-r2713/Criteria.txt
Doctest: Criteria.txt ... FAIL
/Users/herve/Documents/workspace/nagare/python3-ports/peak-py3/PEAK-Rules-0.5a1.dev-r2713/Predicates.txt
Doctest: Predicates.txt ... 


More information about the PEAK mailing list