From 991db268b2cc827b2e5232c94b123659c20f57d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kan=20Th=C3=B6rngren?= Date: Thu, 13 Oct 2016 12:52:22 -0700 Subject: [PATCH] Use keyword-only argument --- python/cmdtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/cmdtest.py b/python/cmdtest.py index 9575cfa..69b3346 100755 --- a/python/cmdtest.py +++ b/python/cmdtest.py @@ -427,7 +427,7 @@ class TestCase: with open(tgt_file, "w", encoding=tgt_encoding) as f: f.write(data) - def cmd(self, cmdline, timeout=None): + def cmd(self, cmdline, *, timeout=None): tmpdir = self.__tmpdir before = tmpdir.snapshot(self.__always_ignored_files) stdout_log = tmpdir.stdout_log()