Skip to content

Commit

Permalink
relax test_get_bad_mask test
Browse files Browse the repository at this point in the history
  • Loading branch information
mdavidsaver committed Aug 26, 2023
1 parent 37747cf commit f2e500f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/p4p/test/test_gw.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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):
Expand Down

0 comments on commit f2e500f

Please sign in to comment.