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

Commit

Permalink
Added tests from the ticket
Browse files Browse the repository at this point in the history
  • Loading branch information
jplab committed Mar 17, 2017
1 parent 1873e32 commit a098bc1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/sage/geometry/polyhedron/constructor.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,19 @@
:mod:`Parents for polyhedra <sage.geometry.polyhedron.parent.Polyhedra>`
.. TESTS:
Check :trac:`22552`::
sage: Polyhedron(vertices=[(8.3319544851638732, 7.0567045956967727), (6.4876921900819049, 4.8435898415984129)])
Traceback (most recent call last):
...
ValueError: no appropriate backend for computations with Real Field with 57 bits of precision
sage: Polyhedron(vertices =[(8.3319544851638732, 7.0567045956967727), (6.4876921900819049, 4.8435898415984129)], base_ring=RealField(40))
Traceback (most recent call last):
...
ValueError: no appropriate backend for computations with Real Field with 40 bits of precision
Base classes
------------
Expand Down

0 comments on commit a098bc1

Please sign in to comment.