def METHOD_NAME(self):
    if os.name == "nt":
        pat = TagsFromPattern('<path>\\<~>\\<~>\\<tracknumber> - <title>')
    else:
        pat = TagsFromPattern('<path>/<~>/<~>/<tracknumber> - <title>')
    self.failUnlessEqual(len(pat.headers), 3)
    song = pat.match({"~filename": self.f1})
    self.failUnlessEqual(song.get("path"), "path")
    self.failUnlessEqual(song.get("title"), "Title")
    self.failIf(song.get("album"))
    self.failIf(song.get("artist"))