diff options
author | AlexSm <alex@ydb.tech> | 2023-12-21 15:05:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-21 15:05:38 +0100 |
commit | e98bcbc74422492351c51646dba3849a138a8ffc (patch) | |
tree | 38ad7a09b1f9c201ce8a7e3d69f2017388769224 /contrib/tools | |
parent | 559d7083cd8378cb25b9e966dedcca21d413e338 (diff) | |
download | ydb-e98bcbc74422492351c51646dba3849a138a8ffc.tar.gz |
Import libs 1 (#590)
* Import libs 1
* Add new file without extension
* Add file missed in export config
Diffstat (limited to 'contrib/tools')
-rw-r--r-- | contrib/tools/python/src/Lib/unittest/case.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/tools/python/src/Lib/unittest/case.py b/contrib/tools/python/src/Lib/unittest/case.py index a3f75af527..3f19d29697 100644 --- a/contrib/tools/python/src/Lib/unittest/case.py +++ b/contrib/tools/python/src/Lib/unittest/case.py @@ -993,6 +993,9 @@ class TestCase(object): with context: callable_obj(*args, **kwargs) + # XXX Для более простой миграции существующих тестов на Python 3 + assertRaisesRegex = assertRaisesRegexp + def assertRegexpMatches(self, text, expected_regexp, msg=None): """Fail the test unless the text matches the regular expression.""" if isinstance(expected_regexp, basestring): |