8b2694efb7
* fix build for openssl 1.1.1b required for sdk (cherry picked from commit aa49e3b2755b97b6331cdbbb89efc954de8d5977) * use js code from master * fix openssl recipe and tweak build (cherry picked from commit 6e94c27021c7bd7b1e880c2fc314850e36a5a38e) * remove unused build recipes (cherry picked from commit f5c0577bdb175bfc0990602936bbc9e2052e1f25)
34 lines
1 KiB
Diff
34 lines
1 KiB
Diff
diff --git a/numpy/testing/__init__.py b/numpy/testing/__init__.py
|
|
index a7c8593..007ce26 100644
|
|
--- a/numpy/testing/__init__.py
|
|
+++ b/numpy/testing/__init__.py
|
|
@@ -1,22 +1,8 @@
|
|
-"""Common test support for all numpy test scripts.
|
|
+# fake tester, android don't have unittest
|
|
+class Tester(object):
|
|
+ def test(self, *args, **kwargs):
|
|
+ pass
|
|
+ def bench(self, *args, **kwargs):
|
|
+ pass
|
|
+test = Tester().test
|
|
|
|
-This single module should provide all the common functionality for numpy tests
|
|
-in a single location, so that test scripts can just import it and work right
|
|
-away.
|
|
-
|
|
-"""
|
|
-from __future__ import division, absolute_import, print_function
|
|
-
|
|
-from unittest import TestCase
|
|
-
|
|
-from ._private.utils import *
|
|
-from ._private import decorators as dec
|
|
-from ._private.nosetester import (
|
|
- run_module_suite, NoseTester as Tester
|
|
- )
|
|
-
|
|
-__all__ = _private.utils.__all__ + ['TestCase', 'run_module_suite']
|
|
-
|
|
-from ._private.pytesttester import PytestTester
|
|
-test = PytestTester(__name__)
|
|
-del PytestTester
|