def test_ignoredir_norecurse(self):
        r = self.invoke(main, ['-l', 'class', '--ignore-dir', 'ignoredir2'])
        output = r.output_bytes.splitlines()

        self.assertEqual(r.exit_code, 0)
        self.assertFalse(any(p in 'ignoredir2' for p in output))

        r = self.invoke(main, ['-l', 'class', '--ignore-dir', 'ignoredir2',
                               '-n'])
        output = r.output_bytes.splitlines()

        self.assertEqual(r.exit_code, 0)
        self.assertTrue(any('ignoredir2' in p for p in output))
dataset/ETHPy150Open caioariede/pyq/test_cmd.py/TestASTMatchEngine.test_ignoredir_norecurse/swapped operands of `in`