Merge pull request #1337 from swt2c/time_clock_removed

Replace time.clock (removed in Python 3.8) with time.process_time

(cherry picked from commit 59e70e7c76)
This commit is contained in:
Robin Dunn
2019-09-05 19:24:47 -07:00
parent 7f8a697f7f
commit 46ca3dbc70

View File

@@ -48,7 +48,10 @@ import sys
mac = sys.platform.startswith("darwin")
import numpy as N
from time import clock
try:
from time import process_time as clock
except ImportError:
from time import clock
import wx
import six