diff --git a/.travis.yml b/.travis.yml index 5623640..4a1b8b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,7 @@ python: - "3.5" - "3.6" - "3.7" + - "3.8" install: - pip install --upgrade pip wheel - pip install Cython diff --git a/CHANGES.md b/CHANGES.md index 6e2a900..bd04765 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Changes +v1.1.24 (2019.11.27) + +* Fix #87 - Python 3.8 compatibility, time.clock removed + v1.1.23 (2019.11.22) * Set minimum Python version to 3.4.5 diff --git a/atropos/util/__init__.py b/atropos/util/__init__.py index 67f8813..d5d9bf3 100644 --- a/atropos/util/__init__.py +++ b/atropos/util/__init__.py @@ -248,7 +248,7 @@ def __sub__(self, other, minval=0.01): """ return dict( wallclock=max(minval, self.timestamp() - other.timestamp()), - cpu=max(minval, self.process_time - other.clock)) + cpu=max(minval, self.process_time - other.process_time)) class Timing(Summarizable): """Context manager that maintains timing information using