extract a _handle_skip method, secure PY2 branch

This commit is contained in:
mbyt
2017-02-02 05:01:51 +01:00
parent 176c680e19
commit ad56cd8027
2 changed files with 20 additions and 11 deletions

View File

@@ -107,6 +107,7 @@ class TestPDB:
self.flush(child)
def test_pdb_unittest_skip(self, testdir):
"""Test for issue #2137"""
p1 = testdir.makepyfile("""
import unittest
@unittest.skipIf(True, 'Skipping also with pdb active')