def test_process_create_time(self):
        cmdline = self.pid % "ps -o lstart -p %s"
        p = subprocess.Popen(cmdline, shell=1, stdout=subprocess.PIPE)
        output = p.communicate()[0]
        if PY3:
            output = str(output, sys.stdout.encoding)
        start_ps = output.replace('STARTED', '').strip()
        start_psutil = psutil.Process(self.pid).create_time()
        start_psutil = time.strftime("%a %b %e %H:%M:%S %Y",
                                     time.localtime(start_psutil))
        self.assertEqual(start_ps, start_psutil)
dataset/ETHPy150Open giampaolo/psutil/psutil/tests/test_bsd.py/BSDSpecificTestCase.test_process_create_time/swapped operands of `%`