Use unittest2.assertWarnsRegex() for making sure we generate the required warnings. Use WarningsCapture to not print the other repeated warns to the console. Change-Id: I7223f8956394208eaf2eb8a1d651ba1425128bc9
12 KiB
12 KiB