diff options
| author | Brant Knudson <bknudson@us.ibm.com> | 2013-07-03 18:12:24 -0500 |
|---|---|---|
| committer | Brant Knudson <bknudson@us.ibm.com> | 2013-07-03 18:12:24 -0500 |
| commit | 8bdbbf6ec182e91b98715b14eb2cc3c9ac3e5774 (patch) | |
| tree | fb23ba1869853c28c711e2d6bfc1cf601ab442ab /docs | |
| parent | 62d948a66b27ad2622a324bd9a070346f7b607d2 (diff) | |
Don't use deprecated BaseException.message
When running the unit tests, I'd get a warning message:
/opt/stack/keystone/tests/test_exception.py:151: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
We shouldn't be using deprecated functions.
This change makes it so the test doesn't use the deprecated member.
Also, test_unicode_message wasn't a test for security error
formatting so moved it to ExceptionTestCase.
Change-Id: I088bf94433baf0f00d3ff8ca63e5f74e9d300cd0
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
