Module Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A macurl2path N/A unittest MacUrl2PathTestCase N/A N/A unittest TestCase N/A test_url2pathname N/A N/A self N/A N/A N/A N/A N/A self assertEqual :index.html N/A N/A macurl2path url2pathname index.html N/A N/A N/A self assertEqual :bar:index.html N/A N/A macurl2path url2pathname bar/index.html N/A N/A N/A self assertEqual foo:bar:index.html N/A N/A macurl2path url2pathname /foo/bar/index.html N/A N/A N/A self assertEqual foo:bar N/A N/A macurl2path url2pathname /foo/bar/ N/A N/A N/A self assertEqual N/A N/A macurl2path url2pathname / N/A N/A N/A self assertRaises RuntimeError N/A macurl2path url2pathname http://foo.com N/A N/A N/A self assertEqual index.html N/A N/A macurl2path url2pathname ///index.html N/A N/A N/A self assertRaises RuntimeError N/A macurl2path url2pathname //index.html N/A N/A N/A self assertEqual :index.html N/A N/A macurl2path url2pathname ./index.html N/A N/A N/A self assertEqual :index.html N/A N/A macurl2path url2pathname foo/../index.html N/A N/A N/A self assertEqual ::index.html N/A N/A macurl2path url2pathname ../index.html N/A test_pathname2url N/A N/A self N/A N/A N/A N/A N/A self assertEqual drive N/A N/A macurl2path pathname2url drive: N/A N/A N/A self assertEqual drive/dir N/A N/A macurl2path pathname2url drive:dir: N/A N/A N/A self assertEqual drive/dir/file N/A N/A macurl2path pathname2url drive:dir:file N/A N/A N/A self assertEqual drive/file N/A N/A macurl2path pathname2url drive:file N/A N/A N/A self assertEqual file N/A N/A macurl2path pathname2url file N/A N/A N/A self assertEqual file N/A N/A macurl2path pathname2url :file N/A N/A N/A self assertEqual dir N/A N/A macurl2path pathname2url :dir: N/A N/A N/A self assertEqual dir/file N/A N/A macurl2path pathname2url :dir:file N/A N/A N/A self assertRaises RuntimeError N/A macurl2path pathname2url / N/A N/A N/A self assertEqual dir/../file N/A N/A macurl2path pathname2url dir::file N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main