'Test for issue #2137'

def test_pdb_unittest_skip(self, testdir):

    p1 = testdir.makepyfile("\n                                                import    unittest\n                                                @unittest.skipIf(True,    'Skipping    also    with    pdb    active')\n                                                class    MyTestCase(unittest.TestCase):\n                                                                def    test_one(self):\n                                                                                assert    0\n                                ")
    child = testdir.spawn_pytest(('-rs    --pdb    %s' % p1))
    child.expect('Skipping    also    with    pdb    active')
    child.expect('1    skipped    in')
    child.sendeof()
    self.flush(child)
