File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -3,20 +3,19 @@ language: python
33sudo : false
44
55python :
6- - " 3.5"
76 - " 3.6"
7+ - " 3.7"
88
99install :
1010 - pip install tox
1111
1212env :
1313 - TOXENV=quality
1414
15- # Everything behaves under python 3.6 except python3.5
1615matrix :
1716 include :
18- - python : 3.5
19- env : TOXENV=py35
17+ - python : 3.6
18+ env : TOXENV=py36
2019
2120script :
2221 - tox -e $TOXENV
Original file line number Diff line number Diff line change @@ -670,7 +670,9 @@ def test_repr():
670670 kj ['Bob' ] = [KeyBundle (JWK1 ['keys' ])]
671671 kj ['C' ] = [KeyBundle (JWK2 ['keys' ])]
672672 txt = kj .__repr__ ()
673- assert txt == "<KeyJar(issuers=['Alice', 'Bob', 'C'])>"
673+ assert "<KeyJar(issuers=[" in txt
674+ _d = eval (txt [16 :- 2 ])
675+ assert set (_d ) == {'Alice' , 'Bob' , 'C' }
674676
675677
676678def test_get_wrong_owner ():
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ def test_headers_jku():
9090
9191def test_decode ():
9292 jwx = JWx (cty = 'JWT' )
93- _msg = jwx ._decode (b 'eyJmb28iOiJiYXIifQ' )
93+ _msg = jwx ._decode ('eyJmb28iOiJiYXIifQ' )
9494 assert _msg == {'foo' :'bar' }
9595
9696
You can’t perform that action at this time.
0 commit comments