commit | 0b8758197f764c401956504e8ac43a90fb44a01d | [log] [tgz] |
---|---|---|
author | Logan Chien <loganchien@google.com> | Thu Jan 03 19:44:39 2019 +0800 |
committer | Logan Chien <loganchien@google.com> | Thu Jan 03 19:44:39 2019 +0800 |
tree | b16d8114c2c2decbae3044137e82b73bb583db3f | |
parent | eaacaac29de8cd22a4a1d4227a9f4f84b718e1fd [diff] |
vndk-def: Fix deprecated warning in unittest This commit adds a TestCase compatibility layer to support `assertRegex` and `assertNotRegex` in both Python 2.7 and 3.5. This removes a deprecated warning while running test cases with Python 3.5. Test: ./tests/run.sh Change-Id: I9856b08f18ae92d110f37f75d444f09692f08acf