@pytest.mark.skipif(u'not HAS_PATHLIB')
def test_validate_path_object():
 test_validate(test_path_object=True)

@ pytest . mark . skipif ( u'not HAS_PATHLIB' ) def test_validate_path_object ( ) : test_validate ( test_path_object = True )
validating when source is passed as path object .