def test_looksLikeTestModule(self):
        for filename in ['test_script.py', 'twisted/trial/test/test_script.py']:
            self.assertTrue(trial.isTestFile(filename),
                            (filename,) % "%r should be a test file")
        for filename in ['twisted/trial/test/moduletest.py',
                         sibpath('scripttest.py'), sibpath('test_foo.bat')]:
            self.assertFalse(trial.isTestFile(filename),
                        "%r should *not* be a test file" % (filename,))
dataset/ETHPy150Open twisted/twisted/twisted/trial/test/test_script.py/TestModuleTests.test_looksLikeTestModule/swapped operands of `%`