From 9c3bac5c6425eb400deb89a08d0884d1885ff08b Mon Sep 17 00:00:00 2001 From: Kyle Sunden Date: Tue, 31 Jan 2023 11:40:53 -0600 Subject: [PATCH] Remove tests.py runner from repo root --- tests.py | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100755 tests.py diff --git a/tests.py b/tests.py deleted file mode 100755 index 335fa860fcec..000000000000 --- a/tests.py +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env python -# -# This allows running the matplotlib tests from the command line: e.g. -# -# $ python tests.py -v -d -# -# The arguments are identical to the arguments accepted by pytest. -# -# See http://doc.pytest.org/ for a detailed description of these options. - -import sys -import argparse - - -if __name__ == '__main__': - try: - from matplotlib import test - except ImportError: - print('matplotlib.test could not be imported.\n\n' - 'Try a virtual env and `pip install -e .`') - sys.exit(-1) - - parser = argparse.ArgumentParser(add_help=False) - parser.add_argument('--recursionlimit', type=int, default=None, - help='Specify recursionlimit for test run') - args, extra_args = parser.parse_known_args() - - print('Python byte-compilation optimization level:', sys.flags.optimize) - - if args.recursionlimit is not None: # Will trigger deprecation. - retcode = test(argv=extra_args, recursionlimit=args.recursionlimit) - else: - retcode = test(argv=extra_args) - sys.exit(retcode) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy