Opened 6 years ago

Closed 6 years ago

#17103 closed defect (fixed)

Random failure in coercion/index.rst

Reported by: vbraun Owned by:
Priority: major Milestone: sage-6.4
Component: coercion Keywords: random_fail
Cc: Merged in:
Authors: Volker Braun Reviewers: Jeroen Demeyer
Report Upstream: N/A Work issues:
Branch: a3b1046 (Commits) Commit: a3b1046f9e8104d36cab9a6852d7fce178471649
Dependencies: Stopgaps:

Description

Somebody needs to hold a reference to QQ^2 here

File "src/doc/en/reference/coercion/index.rst", line 300, in doc.en.reference.coercion.index
Failed example:
    (QQ^2).get_action(QQ)
Expected:
    Right scalar multiplication by Rational Field on Vector space of dimension 2 over Rational Field
Got:
    <repr(<sage.structure.coerce_actions.RightModuleAction at 0x7fe782827628>) failed: RuntimeError: This action acted on a set that became garbage collected>
**********************************************************************
1 item had failures:
   1 of  98 in doc.en.reference.coercion.index

Change History (5)

comment:1 Changed 6 years ago by vbraun

  • Branch set to u/vbraun/random_failure_in_coercion_index_rst

comment:2 Changed 6 years ago by vbraun

  • Authors set to Volker Braun
  • Commit set to a3b1046f9e8104d36cab9a6852d7fce178471649
  • Status changed from new to needs_review

New commits:

a3b1046Make sure that the vector space is not garbage collected before _repr_

comment:3 Changed 6 years ago by jdemeyer

  • Reviewers set to Jeroen Demeyer

I guess this can't hurt...

comment:4 Changed 6 years ago by jdemeyer

  • Status changed from needs_review to positive_review

comment:5 Changed 6 years ago by vbraun

  • Branch changed from u/vbraun/random_failure_in_coercion_index_rst to a3b1046f9e8104d36cab9a6852d7fce178471649
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.