diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2022-01-06 19:08:30 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2022-01-06 19:08:30 -0500 |
commit | 5b2f3b8e6e96e2899ba8edf4a44a07b9533fa33a (patch) | |
tree | 7e710a3bfbceed6a69da5fdaf1bab20013af8538 /coverage/html.py | |
parent | f28be718d6214b18df559e39ef223418782436d7 (diff) | |
download | python-coveragepy-git-nedbat/debug-1298.tar.gz |
debug: see if we can find out why #1298 is happeningnedbat/debug-1298
Diffstat (limited to 'coverage/html.py')
-rw-r--r-- | coverage/html.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/coverage/html.py b/coverage/html.py index ae1d041f..ede34a96 100644 --- a/coverage/html.py +++ b/coverage/html.py @@ -441,7 +441,11 @@ class IncrementalChecker: """Check the global data that can affect incremental reporting.""" m = Hasher() for d in data: - m.update(d) + try: + m.update(d) + except: + print("Couldn't hash this: {d!r}".format(d=d)) + raise these_globals = m.hexdigest() if self.globals != these_globals: self.reset() |