Skip to content

_is_Field() ignores exceptions #14158

@jdemeyer

Description

@jdemeyer

#13370 changed

def bint _is_Field(x)

to

cpdef bint _is_Field(x)

without an except declaration.

For example, I have seen in between doctests:

sage -t  --long -force_lib devel/sage/sage/graphs/generic_graph.py
Exception RuntimeError: RuntimeError("Gap produced error output\nError, Variable: 'is_field' must have a value\n\n   executing is_field();",) in 'sage.rings.ring._is_Field' ignored

Component: coercion

Author: Jeroen Demeyer

Reviewer: David Roe

Merged: sage-5.8.beta2

Issue created by migration from https://trac.sagemath.org/ticket/14158

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions