diff options
| author | BvB93 <43369155+BvB93@users.noreply.github.com> | 2023-02-02 17:36:00 +0100 |
|---|---|---|
| committer | BvB93 <43369155+BvB93@users.noreply.github.com> | 2023-02-02 18:27:49 +0100 |
| commit | c1b655fa7d10cb22bee793290b731681afb8b356 (patch) | |
| tree | 3e7df010d6b35a40fe8c4e7bcbda72242d570b50 /tools | |
| parent | 340b3ff2ea6fdfebcb43a83aa8799dffd77ab325 (diff) | |
| download | numpy-c1b655fa7d10cb22bee793290b731681afb8b356.tar.gz | |
MAINT: Remove the python <3.9 guards for `__class_getitem__`
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/refguide_check.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/refguide_check.py b/tools/refguide_check.py index 1d230b385..2c69b9464 100644 --- a/tools/refguide_check.py +++ b/tools/refguide_check.py @@ -99,12 +99,6 @@ DOCTEST_SKIPDICT = { 'numpy.lib.DataSource': None, 'numpy.lib.Repository': None, } -if sys.version_info < (3, 9): - DOCTEST_SKIPDICT.update({ - "numpy.core.ndarray": {"__class_getitem__"}, - "numpy.core.dtype": {"__class_getitem__"}, - "numpy.core.number": {"__class_getitem__"}, - }) # Skip non-numpy RST files, historical release notes # Any single-directory exact match will skip the directory and all subdirs. |
