Module Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias alias FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Expr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Call NameLoad NameLoad Assert CompareEq NameLoad Dict Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Assert CompareEq AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assert CompareEq NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assert CompareEq Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr keyword Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Str Str Assert CompareEq Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Str Expr Call NameLoad NameLoad Str Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str attr Assert CompareIn Call NameLoad Str NameLoad Import alias Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body FunctionDef arguments args NameParam defaults body Return Str decorator_list Assert CompareEq Call AttributeLoad NameLoad attr keyword NameLoad Str decorator_list
N/A N/A os N/A py N/A pytest N/A setuptools_scm setuptools_scm dump_version setuptools_scm.utils data_from_mime do test_do N/A N/A cmd tmpdir N/A N/A N/A N/A N/A N/A N/A N/A py path local sysfind cmd N/A N/A N/A N/A pytest skip N/A cmd  not found N/A N/A do cmd N/A str tmpdir N/A N/A N/A N/A pytest mark parametrize cmd N/A ls dir test_data_from_mime N/A N/A tmpdir N/A N/A N/A tmpfile N/A N/A tmpdir join test.archival N/A N/A N/A tmpfile write name: test
revision: 1 N/A res N/A data_from_mime N/A str tmpfile N/A N/A res N/A name revision test 1 N/A test_version_from_pkginfo N/A N/A wd N/A N/A N/A N/A N/A wd write PKG-INFO Version: 0.1 N/A N/A N/A wd version 0.1 N/A assert_root N/A N/A monkeypatch expected_root N/A N/A N/A 
    Patch version_from_scm to simply assert that root is expected root
     assertion N/A N/A root unused_parse N/A N/A N/A N/A root expected_root N/A N/A N/A N/A monkeypatch setattr setuptools_scm _do_parse assertion N/A test_root_parameter_creation N/A N/A monkeypatch N/A N/A N/A N/A assert_root monkeypatch N/A N/A os getcwd N/A N/A N/A setuptools_scm get_version N/A test_root_parameter_pass_by N/A N/A monkeypatch N/A N/A N/A N/A assert_root monkeypatch /tmp N/A N/A N/A setuptools_scm get_version root /tmp N/A test_pretended N/A N/A monkeypatch N/A N/A N/A pretense 2345 N/A N/A N/A monkeypatch setenv N/A setuptools_scm PRETEND_KEY pretense N/A N/A N/A N/A setuptools_scm get_version pretense N/A test_root_relative_to N/A N/A monkeypatch N/A N/A N/A N/A assert_root monkeypatch /tmp/alt N/A __file__ /tmp/module/file.py N/A N/A N/A setuptools_scm get_version root ../alt relative_to __file__ N/A test_dump_version N/A N/A tmpdir N/A N/A N/A sp N/A tmpdir strpath N/A N/A dump_version sp 1.0 first.txt N/A N/A N/A N/A N/A N/A tmpdir join first.txt read 1.0 N/A N/A dump_version sp 1.0 first.py N/A content N/A N/A N/A N/A tmpdir join first.py read N/A N/A N/A repr 1.0 content N/A ast N/A N/A N/A ast parse content N/A test_parse_plain N/A N/A N/A N/A parse N/A N/A root N/A N/A N/A tricked you N/A N/A N/A N/A N/A setuptools_scm get_version parse parse tricked you N/A