Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
new attempt at fixing doctests, can only check 32bit
Browse files Browse the repository at this point in the history
  • Loading branch information
darijgr committed Apr 22, 2015
1 parent e8ed592 commit dc8120f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/sage/combinat/rooted_tree.py
Expand Up @@ -257,7 +257,8 @@ def __hash__(self):
sage: RT = RootedTree
sage: hash(RT([[],[[]]])) # indirect doctest
1119083152
2578595415271398032 # 64-bit
1119083152 # 32-bit
"""
return hash(self.sort_key())

Expand Down Expand Up @@ -889,7 +890,8 @@ def __hash__(self):
sage: lb = RootedTrees()([[],[[], []]]).canonical_labelling()
sage: hash(lb) # indirect doctest
652936953
686798862222558969 # 64-bit
652936953 # 32-bit
"""
return hash(self.sort_key())

Expand Down

0 comments on commit dc8120f

Please sign in to comment.