Skip to content

Commit

Permalink
disable test_kms_with_error_parameter in py3, because aliyun-python-s…
Browse files Browse the repository at this point in the history
…dk-core-v3 could not handle error response
  • Loading branch information
mingyangyang committed Mar 2, 2018
1 parent ef63fa3 commit c25df7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def test_kms_basic(self):
self.assertEqual(None, kms.decrypt_oss_meta_data(header, '1231'))

def test_kms_with_error_parameter(self):
if oss2.compat.is_py33:
if oss2.compat.is_py3:
return

def assertKmsFuncRaises(kms, error=OpenApiServerError):
Expand Down

0 comments on commit c25df7d

Please sign in to comment.