You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ros/unique_id/files/tests.patch

18 lines
644 B

Index: unique_id/tests/test_unique_id.py
===================================================================
--- unique_id.orig/tests/test_unique_id.py
+++ unique_id/tests/test_unique_id.py
@@ -20,10 +20,10 @@ class TestPythonUUID(unittest.TestCase):
def test_random_uuids(self):
N = 1000
uu = []
- for i in xrange(N):
+ for i in range(N):
uu.append(fromRandom())
self.assertEqual(type(uu[i]), uuid.UUID)
- for j in xrange(i-1, -1, -1):
+ for j in range(i-1, -1, -1):
self.assertNotEqual(uu[i], uu[j])
# UUID generation from URL tests