#14492: Modular group cohomology, version 2.1.4
--------------------------------------+-------------------------------------
Reporter: SimonKing | Owner: tbd
Type: defect | Status: needs_review
Priority: major | Milestone: sage-5.10
Component: packages: optional | Resolution:
Keywords: group cohomology | Work issues:
Report Upstream: N/A | Reviewers:
Authors: SimonKing | Merged in:
Dependencies: | Stopgaps:
--------------------------------------+-------------------------------------
Comment (by SimonKing):
The tests of each function are written into a temporary file. One of the
files looks like this:
{{{
# -*- coding: utf-8 -*-
r"""
Return a hash value of self
TESTS:
The example produces files. For safety reasons, we choose files
in a temporary directory; it will be removed as soon as Sage is
quit::
sage: tmp_root = tmp_dir()
sage: from pGroupCohomology import CohomologyRing
sage: CohomologyRing.set_user_db(tmp_root)
sage: H = CohomologyRing(8,3)
sage: H.make()
sage: C = H.2
sage: hash(C)==hash(copy(C)) # indirect doctest
True
sage: hash(C)==hash(loads(dumps(C)))
True
sage: D = {C:1, C^2:2}
sage: D[copy(C)]
1
sage: D[copy(C)*C]
2
"""
}}}
without a line break at the end. I am testing now if the missing line
break is to blame.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14492#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.