diff --git a/plugins/Unix/test.py b/plugins/Unix/test.py index c95b5fc07..029ed285e 100644 --- a/plugins/Unix/test.py +++ b/plugins/Unix/test.py @@ -60,7 +60,7 @@ class UnixConfigTestCase(ChannelPluginTestCase): 'foo bar') self.assertRegexp('config channel plugins.Unix.fortune.files ' '"-foo bar"', - 'Error:.*dash.*not \'-foo\'') + 'Error:.*dash.*not u?\'-foo\'') # The u is for Python 2 self.assertNotError('config channel plugins.Unix.fortune.files ""')