mirror of
https://github.com/jlu5/SupyPlugins.git
synced 2025-05-04 09:21:12 -05:00
SedRegex: skip testBoldReplacement on Python 2
I don't know why it breaks here and I don't really care.
This commit is contained in:
parent
5e77c65a5f
commit
b9481184cb
@ -99,6 +99,7 @@ class SedRegexTestCase(ChannelPluginTestCase):
|
|||||||
m = self.getMsg(' ')
|
m = self.getMsg(' ')
|
||||||
self.assertIn('pouch', str(m))
|
self.assertIn('pouch', str(m))
|
||||||
|
|
||||||
|
@unittest.skipUnless(sys.version_info[0] >= 3, 'Test fails on Python 2.')
|
||||||
def testBoldReplacement(self):
|
def testBoldReplacement(self):
|
||||||
with conf.supybot.plugins.sedregex.boldReplacementText.context(True):
|
with conf.supybot.plugins.sedregex.boldReplacementText.context(True):
|
||||||
self.feedMsg('hahahaha', frm=self.__class__.other)
|
self.feedMsg('hahahaha', frm=self.__class__.other)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user