##// END OF EJS Templates
tests: port test-extensions-wrapfunction to Python 3...
Augie Fackler -
r37957:ac865f02 default
parent child Browse files
Show More
@@ -150,6 +150,7 test-execute-bit.t
150 test-export.t
150 test-export.t
151 test-extdata.t
151 test-extdata.t
152 test-extdiff.t
152 test-extdiff.t
153 test-extensions-wrapfunction.py
153 test-extra-filelog-entry.t
154 test-extra-filelog-entry.t
154 test-filebranch.t
155 test-filebranch.t
155 test-filecache.py
156 test-filecache.py
@@ -35,7 +35,7 def batchunwrap(wrappers):
35 print('unwrap %s: %s: %s' % (getid(w), getid(result), msg))
35 print('unwrap %s: %s: %s' % (getid(w), getid(result), msg))
36
36
37 batchwrap(wrappers + [wrappers[0]])
37 batchwrap(wrappers + [wrappers[0]])
38 batchunwrap([(wrappers[i] if i >= 0 else None)
38 batchunwrap([(wrappers[i] if i is not None and i >= 0 else None)
39 for i in [3, None, 0, 4, 0, 2, 1, None]])
39 for i in [3, None, 0, 4, 0, 2, 1, None]])
40
40
41 wrap0 = extensions.wrappedfunction(dummy, 'getstack', wrappers[0])
41 wrap0 = extensions.wrappedfunction(dummy, 'getstack', wrappers[0])
General Comments 0
You need to be logged in to leave comments. Login now