Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3b915df

Browse files
authored
Merge pull request #10837 from anntzer/setuppytesterror
Correctly display error when running setup.py test.
2 parents 8991f9f + d0f09cd commit 3b915df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@
125125

126126

127127
class NoopTestCommand(TestCommand):
128-
def run(self):
128+
def __init__(self, dist):
129129
print("Matplotlib does not support running tests with "
130-
"'python setup.py test'. Please run 'python tests.py'")
130+
"'python setup.py test'. Please run 'python tests.py'.")
131131

132132

133133
class BuildExtraLibraries(BuildExtCommand):

0 commit comments

Comments
 (0)