Ticket #5228: 5228.patch

File 5228.patch, 715 bytes (added by Max Haarhaus, 8 years ago)
  • twisted/test/test_paths.py

     
    14221422        to set the execute bit, so we are skipping tests that set the execute
    14231423        bit.
    14241424        """
     1425        # Change permission after test so file can be deleted
     1426        self.addCleanup(self.path.child(b"sub1").chmod, 0o777)
     1427
    14251428        for mode in (0o777, 0o555):
    14261429            self.path.child(b"sub1").chmod(mode)
    14271430            self.assertEqual(self.path.child(b"sub1").getPermissions(),