Commits

Takayuki Shimizukawa  committed cb7578d

fix: ziptheme.zip block removing test temporary directory on Windows.

  • Participants
  • Parent commits 6ef86fd

Comments (0)

Files changed (1)

File tests/util.py

     wraps = lambda f: (lambda w: w)
 
 from sphinx import application
+from sphinx.theming import Theme
 from sphinx.ext.autodoc import AutoDirective
 
 from path import path
                                     freshenv, warningiserror, tags)
 
     def cleanup(self, doctrees=False):
+        Theme.themes.clear()
         AutoDirective._registry.clear()
         for tree in self.cleanup_trees:
             shutil.rmtree(tree, True)