> There is a change in the way this is handled by Python between 2 and 3.
> You can force integer arithmetic with "//" like 3 // 2 which > will result in 1. Thanks. That's what I was looking for. And here is the corresponding commit at the right time: commit 9765c7ce597f0933f8b45fa627d195262be4ed6f Author: Ian Bruene <ianbru...@gmail.com> Date: Thu Sep 21 18:33:53 2017 -0500 util.py tests now work with Python 3, fixed missing future division import diff --git a/pylib/util.py b/pylib/util.py index 4dbeeb9d9..e6e54d695 100644 --- a/pylib/util.py +++ b/pylib/util.py @@ -2,7 +2,7 @@ # Common utility functions # SPDX-License-Identifier: BSD-2-clause -from __future__ import print_function +from __future__ import print_function, division -- These are my opinions. I hate spam. _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel