diff options
author | Omer Katz <omer.drow@gmail.com> | 2019-01-01 15:49:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-01 15:49:33 +0200 |
commit | ccddd02a71cb53f7aa6f4bad7397dc9060a08dfb (patch) | |
tree | 47ff383cba71ae2118c8263bbf27801876bc2a0f | |
parent | 6e43b7db2fdfa765a7596e8889941304b3becc94 (diff) | |
download | py-amqp-ccddd02a71cb53f7aa6f4bad7397dc9060a08dfb.tar.gz |
Use tuple instead of list.
-rw-r--r-- | t/unit/test_exceptions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/unit/test_exceptions.py b/t/unit/test_exceptions.py index 113b7a8..e1978c7 100644 --- a/t/unit/test_exceptions.py +++ b/t/unit/test_exceptions.py @@ -6,7 +6,7 @@ import pytest import amqp.exceptions from amqp.exceptions import AMQPError, error_for_code -AMQP_EXCEPTIONS = [ +AMQP_EXCEPTIONS = ( 'ConnectionError', 'ChannelError', 'RecoverableConnectionError', 'IrrecoverableConnectionError', 'RecoverableChannelError', 'IrrecoverableChannelError', @@ -15,7 +15,7 @@ AMQP_EXCEPTIONS = [ 'ResourceLocked', 'PreconditionFailed', 'FrameError', 'FrameSyntaxError', 'InvalidCommand', 'ChannelNotOpen', 'UnexpectedFrame', 'ResourceError', 'NotAllowed', 'AMQPNotImplementedError', 'InternalError', -] +) class test_AMQPError: |