##// END OF EJS Templates
run-tests: work around chr() producing unicode in Python 3
Augie Fackler -
r25036:61fc2cdb default
parent child Browse files
Show More
@@ -826,6 +826,10 b' checkcodeglobpats = ['
826 re.compile(r'^pulling from \$TESTTMP/.*[^)]$')
826 re.compile(r'^pulling from \$TESTTMP/.*[^)]$')
827 ]
827 ]
828
828
829 bchr = chr
830 if sys.version_info[0] == 3:
831 bchr = lambda x: bytes([x])
832
829 class TTest(Test):
833 class TTest(Test):
830 """A "t test" is a test backed by a .t file."""
834 """A "t test" is a test backed by a .t file."""
831
835
General Comments 0
You need to be logged in to leave comments. Login now