aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite_decryption.py
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2018-10-13 18:08:43 +0200
committerPeter Wu <peter@lekensteyn.nl>2018-11-08 16:36:35 +0000
commit7f2cf2fccaff3cbdfc0f3a43a10667269f4ea4f6 (patch)
treed8de71c0e1827211af73ba6058540a9cdfe763b6 /test/suite_decryption.py
parent50a0a78bd0a821c9b2904db7ff1e2a306d6f2183 (diff)
test: drop Python 2 compatibility, use more Python 3 features
Reduces maintenance costs and makes it possible to simplify code. pytest supports Python 2.7 and Python 3.4 (or newer), so that is more or less the minimum target for now. Change-Id: I0347b6c334bf2fc6c9480ff56e9ccfcd48886dde Reviewed-on: https://code.wireshark.org/review/30193 Tested-by: Petri Dish Buildbot Petri-Dish: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'test/suite_decryption.py')
-rw-r--r--test/suite_decryption.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/suite_decryption.py b/test/suite_decryption.py
index bc343a78af..606c89b894 100644
--- a/test/suite_decryption.py
+++ b/test/suite_decryption.py
@@ -512,7 +512,7 @@ class case_decrypt_http2(subprocesstest.SubprocessTestCase):
env=config.test_env)
test_passed = self.grepOutput('nghttp2')
if not test_passed:
- self.log_fd.write(u'\n\n-- Verbose output --\n\n')
+ self.log_fd.write('\n\n-- Verbose output --\n\n')
self.runProcess((config.cmd_tshark,
'-r', capture_file,
'-V',