Make code sample more idiomatic. (#765)
diff --git a/docs/instrumentation_tutorial.md b/docs/instrumentation_tutorial.md
index ff3d258..46036ea 100644
--- a/docs/instrumentation_tutorial.md
+++ b/docs/instrumentation_tutorial.md
@@ -168,7 +168,7 @@
def test_instrumentation(self):
# Iterate over the dut devices with a corresponding index.
- for index, dut in zip(range(len(self.duts)), self.duts):
+ for index, dut in enumerate(self.duts):
# Specify a prefix to help disambiguate the runs.
self.run_instrumentation_test(dut, 'com.example.package.tests',
prefix='test_run_%s' % index)