We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a0f3bb commit cebbeb3Copy full SHA for cebbeb3
lib/mpl_toolkits/basemap/test.py
@@ -136,11 +136,12 @@ def test():
136
Run some tests.
137
"""
138
import unittest
139
- rotatevector_suite = unittest.makeSuite(TestRotateVector,'test')
140
- shiftgrid_suite = unittest.makeSuite(TestShiftGrid,'test')
+ from . import test
141
runner = unittest.TextTestRunner()
142
- runner.run(rotatevector_suite)
143
- runner.run(shiftgrid_suite)
+ suite = unittest.findTestCases(test)
+ runner.run(suite)
+
144
145
if __name__ == '__main__':
146
- test()
+ import unittest
147
+ unittest.main()
0 commit comments