From d015707e0e26bafbfad72511c0a47cbb66c90971 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Wed, 10 Jun 2020 15:38:05 -0400 Subject: Fix remaining Python 3 unit test string encoding bug Really just one bug, but confusingly masked by an interaction between generators and our XDR context manager, so don't use the context manager in the one generator method in the cryptech.libhal API. Also run reindent.py on a few old test modules. --- tests/parallel-signatures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/parallel-signatures.py') diff --git a/tests/parallel-signatures.py b/tests/parallel-signatures.py index 87bac0a..200e550 100755 --- a/tests/parallel-signatures.py +++ b/tests/parallel-signatures.py @@ -305,7 +305,7 @@ class Result(object): @property def mean(self): - return self.sum / self.n + return self.sum / self.n @property def secs_per_sig(self): -- cgit v1.2.3