summaryrefslogtreecommitdiff
path: root/numpy/_pytesttester.py
diff options
context:
space:
mode:
authorAl-Baraa El-Hag <a.elhag01@gmail.com>2020-11-24 17:11:47 -0500
committerAl-Baraa El-Hag <a.elhag01@gmail.com>2020-11-24 17:15:52 -0500
commitd9c9a3f0f300a9737a34fef5297bcd8d0484efd8 (patch)
tree8f66acc4139fa34a3a930dd2b5641579a0fb2a49 /numpy/_pytesttester.py
parent520b7d12256fcfcb6a2b3791f8d1bd3794302af6 (diff)
downloadnumpy-d9c9a3f0f300a9737a34fef5297bcd8d0484efd8.tar.gz
DOC: Fixing boilerplate code example
_pytesttester.py had either on old implementation or a wrong one Updated it with the current practice
Diffstat (limited to 'numpy/_pytesttester.py')
-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