Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Commit

Permalink
Try both pylint approaches for Python 3.8 and < 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
davedoesdev committed Feb 24, 2020
1 parent 4898ddd commit 1b4bafa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/jwt_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ def _setup(alg, priv_type, pub_type, exp, iat_skew, nbf, jti_size, keyless, expe
pubk = None if keyless else pub_keys[alg][pub_type]
jtis = {}
@Vows.batch
#pylint: disable=unused-variable
class GenerateJWT(Vows.Context): #pylint: disable=unused-variable
#pylint: enable=unused-variable
""" generate token """
def topic(self):
""" generate tokens, one with lifetime, one with expires """
Expand Down

0 comments on commit 1b4bafa

Please sign in to comment.