We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4fc890 commit 6732e7aCopy full SHA for 6732e7a
1 file changed
ietf/utils/test_runner.py
@@ -619,7 +619,7 @@ def teardown_test_environment(self, **kwargs):
619
self.coverage_master["version"] = self.save_version_coverage
620
self.coverage_master[self.save_version_coverage] = self.coverage_data
621
if self.coverage_file.endswith('.gz'):
622
- with gzip.open(self.coverage_file, "wb") as file:
+ with gzip.open(self.coverage_file, "wt", encoding='ascii') as file:
623
json.dump(self.coverage_master, file, sort_keys=True)
624
else:
625
with codecs.open(self.coverage_file, "w", encoding="utf-8") as file:
0 commit comments