old_contents: import unittest
  
  class TestListComp(unittest.TestCase):
    "Tests of list comprehension"
  
    def test_basic_comp(self):
      x for x in range(1, 1000):
        self.assertLess(x, 1000)
  
new_contents: import unittest
  
  class TestListComp(unittest.TestCase):
    "Tests of list comprehension"
  
    def test_basic_comp(self):
      all_nums = [x for x in range(1, 1000)]
      for num in all_nums:
        self.assertLess(num, 1000)
  
subject: test basic list comprehension