fix for f4d30d1a529e
Python 2.7 has only assertRaisesRegexp, not assertRaisesRegex
diff --git a/Lib/test/test_ucn.py b/Lib/test/test_ucn.py
index 1d303dc..397d6cd 100644
--- a/Lib/test/test_ucn.py
+++ b/Lib/test/test_ucn.py
@@ -147,7 +147,7 @@
except MemoryError:
raise unittest.SkipTest("not enough memory")
self.assertEqual(len(x), len(b'\\N{SPACE}') + (_testcapi.UINT_MAX + 1))
- self.assertRaisesRegex(UnicodeError,
+ self.assertRaisesRegexp(UnicodeError,
'unknown Unicode character name',
x.decode, 'unicode-escape'
)