summaryrefslogtreecommitdiff
path: root/test/suite/test_checkpoint01.py
diff options
context:
space:
mode:
authorSusan LoVerso <sue@mongodb.com>2016-03-01 12:50:15 -0500
committerSusan LoVerso <sue@mongodb.com>2016-03-01 12:50:15 -0500
commit5229ef8d6b2e42b7a19e701b58e549f1b8b9bafd (patch)
tree716808715724831f58d03e7b513fac66d2ff7d09 /test/suite/test_checkpoint01.py
parentf6d0fa3645eb3f2b9932ffac9c287bba52052e04 (diff)
downloadmongo-5229ef8d6b2e42b7a19e701b58e549f1b8b9bafd.tar.gz
WT-2437 Adjust expected error messages to support Windows.
Look for WT-specific portion of the message or detect Posix/Windows.
Diffstat (limited to 'test/suite/test_checkpoint01.py')
-rw-r--r--test/suite/test_checkpoint01.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/suite/test_checkpoint01.py b/test/suite/test_checkpoint01.py
index 36f1ef733a4..9955944f73d 100644
--- a/test/suite/test_checkpoint01.py
+++ b/test/suite/test_checkpoint01.py
@@ -265,7 +265,7 @@ class test_checkpoint_cursor_update(wttest.WiredTigerTestCase):
cursor = self.session.open_cursor(self.uri, None, "checkpoint=ckpt")
cursor.set_key(key_populate(cursor, 10))
cursor.set_value("XXX")
- msg = "/not supported/"
+ msg = "/Unsupported cursor/"
self.assertRaisesWithMessage(wiredtiger.WiredTigerError,
lambda: cursor.insert(), msg)
self.assertRaisesWithMessage(wiredtiger.WiredTigerError,