summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2020-11-25 07:47:40 +0200
committerGitHub <noreply@github.com>2020-11-25 07:47:40 +0200
commite38a64fd8d78d838f950db685a16337aa78f9940 (patch)
tree3729e022565c87c47c08e7ab634e0453c760d7e0 /numpy
parent7571d4ad2ca1be26a76c153431c937dbe24490bc (diff)
parentd9c9a3f0f300a9737a34fef5297bcd8d0484efd8 (diff)
downloadnumpy-e38a64fd8d78d838f950db685a16337aa78f9940.tar.gz
Merge pull request #17841 from a-elhag/docstring-fix
DOC: Fixing boilerplate code example
Diffstat (limited to 'numpy')
-rw-r--r--numpy/_pytesttester.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/_pytesttester.py b/numpy/_pytesttester.py
index 33fee9a14..813e069a4 100644
--- a/numpy/_pytesttester.py
+++ b/numpy/_pytesttester.py
@@ -6,7 +6,7 @@ boiler plate for doing that is to put the following in the module
``__init__.py`` file::
from numpy._pytesttester import PytestTester
- test = PytestTester(__name__).test
+ test = PytestTester(__name__)
del PytestTester