with self.assertRaises(OSError):
self.pakfire.execute(["/command", "print-nice"], nice=100)
- #def test_check_open_file_descriptors(self):
- # """
- # Since we are spawning child processes, it might happen that we leak file
- # descriptors to the child process.
- # """
- # self.pakfire.execute(["/command", "check-open-file-descriptors"])
+ def test_check_open_file_descriptors(self):
+ """
+ Since we are spawning child processes, it might happen that we leak file
+ descriptors to the child process.
+ """
+ self.pakfire.execute(["/command", "check-open-file-descriptors"])
# Signals