# HG changeset patch
# User Simon King
# 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/sage/rings/polynomial/polynomial_ring.py
+++ b/sage/rings/polynomial/polynomial_ring.py
@@ -35,11 +35,14 @@
sage: k = PolynomialRing(ZZ,'y', sparse=True); loads(dumps(k))
Sparse Univariate Polynomial Ring in y over Integer Ring
-Rings with different variable names are not equal::
+Rings with different variable names are not equal; in fact,
+by trac ticket #9944, poynomial rings are equal if and only
+if they are identic (which should be the case for all parent
+structures in Sage)::
- sage: QQ['y'] < QQ['x']
- False
- sage: QQ['y'] < QQ['z']
+ sage: QQ['y'] != QQ['x']
+ True
+ sage: QQ['y'] != QQ['z']
True
We create a polynomial ring over a quaternion algebra::