Skip to content

Commit

Permalink
Prefer _ to i for loop variable that is unused
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulPrice authored and timj committed Aug 4, 2016
1 parent 8f7ed0e commit d3b2a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dateTime.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def testNsecsDefault(self):

def testNow(self):
successes = 0
for i in range(10): # pylint: disable-msg=W0612
for _ in range(10):
secs = time.time()
ts = DateTime.now()
diff = ts.nsecs(DateTime.UTC)/1.0e9 - secs
Expand Down

0 comments on commit d3b2a2e

Please sign in to comment.