]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - dunshire/errors.py
Use "..." for floating point output in doctests.
[dunshire.git] / dunshire / errors.py
index 7cd8342ece4f659bfdc3c2378ce6c7774848e2ba..424f3e62352848c7f673375e401da18c25cdbb98 100644 (file)
@@ -91,7 +91,7 @@ class GameUnsolvableException(Exception):
               [0.1000000],
          e2 = [3.0000000]
               [0.1000000],
-         Condition((L, K, e1, e2)) = 4.155638.
+         Condition((L, K, e1, e2)) = 4.155...
        CVXOPT returned:
          dual infeasibility: None
          dual objective: 1.0
@@ -192,7 +192,7 @@ class PoorScalingException(Exception):
               [0.1000000],
          e2 = [3.0000000]
               [0.1000000],
-         Condition((L, K, e1, e2)) = 4.155638.
+         Condition((L, K, e1, e2)) = 4.155...
        <BLANKLINE>
     """
     def __init__(self, game):