Skip to content

Commit 5b253f7

Browse files
authored
Merge pull request #433 from tlsfuzzer/py38-py39-0.7
add Python 3.8 CI [0.7]
2 parents 0b9c9d2 + b7b2b49 commit 5b253f7

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
dist: xenial
3737
sudo: true
3838
env: TACKPY=false
39+
- python: 3.8
40+
dist: xenial
41+
sudo: true
42+
env: TACKPY=false
3943
- python: 2.7
4044
env: TACKPY=true
4145
- python: 3.4

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
'Programming Language :: Python :: 3.5',
4040
'Programming Language :: Python :: 3.6',
4141
'Programming Language :: Python :: 3.7',
42+
'Programming Language :: Python :: 3.8',
4243
'Topic :: Security :: Cryptography',
4344
'Topic :: Software Development :: Libraries :: Python Modules',
4445
'Topic :: System :: Networking'

tests/tlstest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import os
1616
import os.path
1717
import socket
18-
import time
18+
import timeit
1919
import getopt
2020
from tempfile import mkstemp
2121
try:
@@ -476,10 +476,10 @@ def connect():
476476
connection.handshakeClientCert(settings=settings)
477477
print("%s %s:" % (connection.getCipherName(), connection.getCipherImplementation()), end=' ')
478478

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

0 commit comments

Comments
 (0)