Browse Source

[2353] Update syntax used, combining two statements into one

Mukund Sivaraman 12 years ago
parent
commit
8a966b8d73
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/bin/bind10/tests/bind10_test.py.in

+ 1 - 2
src/bin/bind10/tests/bind10_test.py.in

@@ -1459,8 +1459,7 @@ class TestBossComponents(unittest.TestCase):
         '''Test that procsses are returned correctly, sorted by pid.'''
         bob = MockBob()
 
-        pids = []
-        pids.extend(range(0, 20))
+        pids = list(range(0, 20))
         random.shuffle(pids)
 
         for i in range(0, 20):