diff options
author | kotfu <kotfu@kotfu.net> | 2019-03-09 23:18:39 -0700 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2019-03-09 23:18:39 -0700 |
commit | d8ef258758be7ca690c591a762cbed7ee4c5a838 (patch) | |
tree | aae394f55ba1c41127149fa8c966650b446b1cc5 /tests/test_transcript.py | |
parent | 16d8e96846b175b3910d0a40f5907939fc04a217 (diff) | |
download | cmd2-git-d8ef258758be7ca690c591a762cbed7ee4c5a838.tar.gz |
Clean up unused variables
Diffstat (limited to 'tests/test_transcript.py')
-rw-r--r-- | tests/test_transcript.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py index 6bfe187e..f93642b8 100644 --- a/tests/test_transcript.py +++ b/tests/test_transcript.py @@ -53,7 +53,7 @@ class CmdLineApp(cmd2.Cmd): if opts.shout: arg = arg.upper() repetitions = opts.repeat or 1 - for i in range(min(repetitions, self.maxrepeats)): + for _ in range(min(repetitions, self.maxrepeats)): self.poutput(arg) # recommend using the poutput function instead of # self.stdout.write or "print", because Cmd allows the user @@ -69,7 +69,7 @@ class CmdLineApp(cmd2.Cmd): """Mumbles what you tell me to.""" repetitions = opts.repeat or 1 #arg = arg.split() - for i in range(min(repetitions, self.maxrepeats)): + for _ in range(min(repetitions, self.maxrepeats)): output = [] if random.random() < .33: output.append(random.choice(self.MUMBLE_FIRST)) |