summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOmer Katz <omer.drow@gmail.com>2019-01-01 15:49:33 +0200
committerGitHub <noreply@github.com>2019-01-01 15:49:33 +0200
commitccddd02a71cb53f7aa6f4bad7397dc9060a08dfb (patch)
tree47ff383cba71ae2118c8263bbf27801876bc2a0f
parent6e43b7db2fdfa765a7596e8889941304b3becc94 (diff)
downloadpy-amqp-ccddd02a71cb53f7aa6f4bad7397dc9060a08dfb.tar.gz
Use tuple instead of list.
-rw-r--r--t/unit/test_exceptions.py4
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: