summaryrefslogtreecommitdiff
path: root/gitlab/exceptions.py
diff options
context:
space:
mode:
authorSrikanth Chelluri <srikanth.chelluri@appian.com>2019-01-08 22:12:25 -0500
committerSrikanth Chelluri <srikanth.chelluri@appian.com>2019-01-08 22:12:25 -0500
commit16bda20514e036e51bef210b565671174cdeb637 (patch)
treebb14b5569d330e84b6b21cf3fdca9cc2fe7a2e36 /gitlab/exceptions.py
parent7a3724f3fca93b4f55aed5132cf46d3718c4f594 (diff)
downloadgitlab-16bda20514e036e51bef210b565671174cdeb637.tar.gz
fix: remove decode() on error_message string
The integration tests failed because a test called 'decode()' on a string-type variable - the GitLabException class handles byte-to-string conversion already in its __init__. This commit removes the call to 'decode()' in the test. ``` Traceback (most recent call last): File "./tools/python_test_v4.py", line 801, in <module> assert 'Retry later' in error_message.decode() AttributeError: 'str' object has no attribute 'decode' ```
Diffstat (limited to 'gitlab/exceptions.py')
0 files changed, 0 insertions, 0 deletions