Commits

Vinay Sajip committed ff74960 Draft

Updated tests for Python 3.3.

  • Participants
  • Parent commits a6c53b8

Comments (0)

Files changed (1)

             self.assertTrue(stderr.startswith(DEFAULT_PYTHON2.output_version))
 
         VERBOSE_START = b'# installing zipimport hook'
+        VERBOSE_START_3 = b'import _frozen_importlib # frozen'
 
         # Python 3 with -v
         shebang = '#!v3a\n'
         path = self.make_script(shebang_line=shebang)
         stdout, stderr = self.run_child(path)
-        self.assertTrue(stderr.startswith(VERBOSE_START))
+        self.assertTrue(stderr.startswith(VERBOSE_START_3))
         # Assumes standard Python installation directory
         self.assertIn(DEFAULT_PYTHON3.bdir, stderr)