Show More
@@ -15,7 +15,7 b" testui.write_err(b'error\\n')" | |||
|
15 | 15 | print(repr(testui.popbuffer())) |
|
16 | 16 | |
|
17 | 17 | # test dispatch.dispatch with the same ui object |
|
18 | hgrc = open(os.environ["HGRCPATH"], 'w') | |
|
18 | hgrc = open(os.environ["HGRCPATH"], 'wb') | |
|
19 | 19 | hgrc.write(b'[extensions]\n') |
|
20 | 20 | hgrc.write(b'color=\n') |
|
21 | 21 | hgrc.close() |
@@ -24,7 +24,7 b' ui_ = uimod.ui.load()' | |||
|
24 | 24 | ui_.setconfig(b'ui', b'formatted', b'True') |
|
25 | 25 | |
|
26 | 26 | # we're not interested in the output, so write that to devnull |
|
27 | ui_.fout = open(os.devnull, 'w') | |
|
27 | ui_.fout = open(os.devnull, 'wb') | |
|
28 | 28 | |
|
29 | 29 | # call some arbitrary command just so we go through |
|
30 | 30 | # color's wrapped _runcommand twice. |
General Comments 0
You need to be logged in to leave comments.
Login now