tests/run-tests.py
changeset 48860 4cea98b32d95
parent 48859 f928dec9add7
child 48861 7265e5b1d18e
--- a/tests/run-tests.py	Sun Feb 20 13:20:33 2022 -0700
+++ b/tests/run-tests.py	Sun Feb 20 13:21:30 2022 -0700
@@ -1655,9 +1655,7 @@
     re.compile(br'.*\$LOCALIP.*$'),
 ]
 
-bchr = chr
-if PYTHON3:
-    bchr = lambda x: bytes([x])
+bchr = lambda x: bytes([x])
 
 WARN_UNDEFINED = 1
 WARN_YES = 2