# HG changeset patch
# User Simon King <simon.king@uni-jena.de>
# Date 1306245026 -7200
# Node ID a2dda6c84c08c7c09c6eca0f9cffe8747154ea06
# Parent 2857c90070e4b17be4aa9f5c7a92a595de0365bc
#9944: Derandomize the result of one doctest.
diff --git a/sage/rings/polynomial/polynomial_ring.py b/sage/rings/polynomial/polynomial_ring.py
a
|
b
|
|
35 | 35 | sage: k = PolynomialRing(ZZ,'y', sparse=True); loads(dumps(k)) |
36 | 36 | Sparse Univariate Polynomial Ring in y over Integer Ring |
37 | 37 | |
38 | | Rings with different variable names are not equal:: |
| 38 | Rings with different variable names are not equal; in fact, |
| 39 | by trac ticket #9944, poynomial rings are equal if and only |
| 40 | if they are identic (which should be the case for all parent |
| 41 | structures in Sage):: |
39 | 42 | |
40 | | sage: QQ['y'] < QQ['x'] |
41 | | False |
42 | | sage: QQ['y'] < QQ['z'] |
| 43 | sage: QQ['y'] != QQ['x'] |
| 44 | True |
| 45 | sage: QQ['y'] != QQ['z'] |
43 | 46 | True |
44 | 47 | |
45 | 48 | We create a polynomial ring over a quaternion algebra:: |