• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2007 Baptiste Lepilleur and The JsonCpp Authors
2# Distributed under MIT license, or public domain if desired and
3# recognized in your jurisdiction.
4# See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5
6"""Removes all files created during testing."""
7
8import glob
9import os
10
11paths = []
12for pattern in [ '*.actual', '*.actual-rewrite', '*.rewrite', '*.process-output' ]:
13    paths += glob.glob('data/' + pattern)
14
15for path in paths:
16    os.unlink(path)
17