Commits

Ronald Oussoren committed f67166f

Fix some py3k issues

  • Participants
  • Parent commits 292e5ba

Comments (0)

Files changed (3)

File py2app/recipes/pyside.py

         if add:
             NOT_SYSTEM_FILES.append(os.path.join('/usr/lib', fn)) 
 
-    print "resources", resources
     return dict(resources=resources)

File py2app_tests/test_app_with_scripts.py

         lines = p.communicate()[0]
         p.wait()
 
-        self.assertEqual(lines, 'Helper 1\n')
+        self.assertEqual(lines, b'Helper 1\n')
 
     def test_helper2(self):
         p = self.run_script('helper2')
         lines = p.communicate()[0]
         p.wait()
 
-        self.assertEqual(lines, 'Helper 2\n')
+        self.assertEqual(lines, b'Helper 2\n')
 
     def test_basic_start(self):
         p = self.start_app()

File py2app_tests/test_plugin_with_scripts.py

         lines = p.communicate()[0]
         p.wait()
 
-        self.assertEqual(lines, 'Helper 1\n')
+        self.assertEqual(lines, b'Helper 1\n')
 
     def test_helper2(self):
         p = self.run_script('helper2')
         lines = p.communicate()[0]
         p.wait()
 
-        self.assertEqual(lines, 'Helper 2\n')
+        self.assertEqual(lines, b'Helper 2\n')
 
     def test_basic_start(self):
         p = self.start_app()