mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
tests: mkstemp_exec needs argument in bytes
This commit is contained in:
parent
74949bb049
commit
3f97a034c7
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ class TestTaskEdit(TestCase):
|
||||||
self.t = Task()
|
self.t = Task()
|
||||||
|
|
||||||
# Workaround to always assume changes were introduced via "task edit"
|
# Workaround to always assume changes were introduced via "task edit"
|
||||||
self.editor = mkstemp_exec("echo '' >> $1\n")
|
self.editor = mkstemp_exec(b"echo '' >> $1\n")
|
||||||
|
|
||||||
self.t.env["VISUAL"] = self.editor
|
self.t.env["VISUAL"] = self.editor
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ class TestBug20(TestCase):
|
||||||
self.t = Task()
|
self.t = Task()
|
||||||
|
|
||||||
# Workaround to always assume changes were introduced via "task edit"
|
# Workaround to always assume changes were introduced via "task edit"
|
||||||
self.editor = mkstemp_exec("echo '' >> $1\n")
|
self.editor = mkstemp_exec(b"echo '' >> $1\n")
|
||||||
|
|
||||||
self.t.env["VISUAL"] = self.editor
|
self.t.env["VISUAL"] = self.editor
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue