Skip to content

Commit b090043

Browse files
committed
Fix test for new exception.
1 parent 88b1948 commit b090043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_jwt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ def test_encode_decode_with_algo_none(self):
385385
jwt_message = jwt.encode(self.payload, key=None, algorithm=None)
386386

387387
self.assertRaises(
388-
NotImplementedError,
388+
jwt.DecodeError,
389389
lambda: jwt.decode(jwt_message))
390390

391391
jwt.decode(jwt_message, verify=False)

0 commit comments

Comments
 (0)