From: "Michael R. Crusoe" <michael.crusoe@gmail.com>
Date: Fri, 16 Jun 2023 12:26:33 -0400
Subject: Adapt test for post-installation usage

Forwarded: not-needed
---
 schema_salad/tests/test_print_oneline.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

--- python-schema-salad.orig/schema_salad/tests/test_print_oneline.py
+++ python-schema-salad/schema_salad/tests/test_print_oneline.py
@@ -174,10 +174,9 @@
             )
         except ValidationException as e:
             msg = str(e)
+            print("\n", e)
             assert (
-                msg.endswith("expected <block end>, but found ':'")
-                or msg.endswith("expected <block end>, but found u':'")
-                or re.search(r"mapping with\s+implicit\s+null key$", msg, re.M)
+                re.search(r"expected\s+<block\s+end>,\s+but\s+found", msg, re.M)
+                or re.search(r"mapping with\s+implicit\s+null key", msg, re.M)
             )
-            print("\n", e)
             raise
