summaryrefslogtreecommitdiffstats
path: root/venv/Lib/site-packages/PyInstaller/hooks/hook-numpy._pytesttester.py
blob: 3bb20f3a9a2b8a7d0bbfc485acba4d9c9ba84268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# -----------------------------------------------------------------------------
# Copyright (c) 2013-2022, PyInstaller Development Team.
#
# Distributed under the terms of the GNU General Public License (version 2
# or later) with exception for distributing the bootloader.
#
# The full license is in the file COPYING.txt, distributed with this software.
#
# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception)
# -----------------------------------------------------------------------------

# numpy._pytesttester is unconditionally imported by numpy.core, thus we can not exclude _pytesttester (which would be
# preferred). Anyway, we can avoid importing pytest, which pulls in anotehr 150+ modules. See
# https://github.com/numpy/numpy/issues/17183

excludedimports = ["pytest"]