How to use the pdbpp.ArgWithCount function in pdbpp

To help you get started, we’ve selected a few pdbpp examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pdbpp / pdbpp / testing / test_pdb.py View on Github external
def test_ArgWithCount():
    from pdbpp import ArgWithCount

    obj = ArgWithCount("", None)
    assert obj == ""
    assert repr(obj) == ""
    assert isinstance(obj, str)

    obj = ArgWithCount("foo", 42)
    assert obj == "foo"
    assert repr(obj) == ""
github pdbpp / pdbpp / testing / test_pdb.py View on Github external
def test_ArgWithCount():
    from pdbpp import ArgWithCount

    obj = ArgWithCount("", None)
    assert obj == ""
    assert repr(obj) == ""
    assert isinstance(obj, str)

    obj = ArgWithCount("foo", 42)
    assert obj == "foo"
    assert repr(obj) == ""