Skip to content

Commit

Permalink
Merge pull request #433 from tlsfuzzer/py38-py39-0.7
Browse files Browse the repository at this point in the history
add Python 3.8 CI [0.7]
  • Loading branch information
tomato42 committed Nov 26, 2020
2 parents 0b9c9d2 + b7b2b49 commit 5b253f7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
dist: xenial
sudo: true
env: TACKPY=false
- python: 3.8
dist: xenial
sudo: true
env: TACKPY=false
- python: 2.7
env: TACKPY=true
- python: 3.4
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Security :: Cryptography',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Networking'
Expand Down
6 changes: 3 additions & 3 deletions tests/tlstest.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import os
import os.path
import socket
import time
import timeit
import getopt
from tempfile import mkstemp
try:
Expand Down Expand Up @@ -476,10 +476,10 @@ def connect():
connection.handshakeClientCert(settings=settings)
print("%s %s:" % (connection.getCipherName(), connection.getCipherImplementation()), end=' ')

startTime = time.clock()
startTime = timeit.default_timer()
connection.write(b"hello"*10000)
h = connection.read(min=50000, max=50000)
stopTime = time.clock()
stopTime = timeit.default_timer()
if stopTime-startTime:
print("100K exchanged at rate of %d bytes/sec" % int(100000/(stopTime-startTime)))
else:
Expand Down

0 comments on commit 5b253f7

Please sign in to comment.