← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~lgp171188/launchpad:fix-xx-opstats-doctest-postgres into launchpad:master

 

Guruprasad has proposed merging ~lgp171188/launchpad:fix-xx-opstats-doctest-postgres into launchpad:master.

Commit message:
Fix xx-opstats.rst doctest for Postgres 14

This adds a wildcard to account for the additional text in the exception
message that shows up on Postgres 14.


Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~lgp171188/launchpad/+git/launchpad/+merge/479920
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~lgp171188/launchpad:fix-xx-opstats-doctest-postgres into launchpad:master.
diff --git a/lib/lp/app/stories/basics/xx-opstats.rst b/lib/lp/app/stories/basics/xx-opstats.rst
index 0dcd7d6..c338934 100644
--- a/lib/lp/app/stories/basics/xx-opstats.rst
+++ b/lib/lp/app/stories/basics/xx-opstats.rst
@@ -395,7 +395,7 @@ But our database connections are broken.
     >>> IStore(Person).find(Person, name="janitor")
     Traceback (most recent call last):
     ...
-    storm.exceptions.DisconnectionError:
+    storm.exceptions.DisconnectionError:...
     FATAL:  database "nonexistent" does not exist
 
     >>> _ = config.pop("no_db")