From f2e500fe82d10593d6d7c43d24a0bbf8d5e51307 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Sat, 26 Aug 2023 11:04:48 +0200 Subject: [PATCH] relax test_get_bad_mask test --- src/p4p/test/test_gw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p4p/test/test_gw.py b/src/p4p/test/test_gw.py index 26a880de..8d4d60a2 100644 --- a/src/p4p/test/test_gw.py +++ b/src/p4p/test/test_gw.py @@ -370,7 +370,7 @@ def test_get_mask(self): self.assertFalse(val.raw.changed('value')) def test_get_bad_mask(self): - with self.assertRaisesRegex(RemoteError, ".*Empty field selection"): + with self.assertRaisesRegex(RemoteError, ".*select.*"): val = self._ds_client.get('pv:name', timeout=self.timeout, request='nonexistant') def test_put(self): @@ -380,7 +380,7 @@ def test_put(self): self.assertEqual(val, 41) def test_put_bad_mask(self): - with self.assertRaisesRegex(RemoteError, ".*Empty field selection"): + with self.assertRaisesRegex(RemoteError, ".*select.*"): self._ds_client.put('pv:name', 41, request='nonexistant', timeout=self.timeout) def test_mon(self):