rename p4a so it will clone
This commit is contained in:
parent
718044ee02
commit
6d519ea619
567 changed files with 0 additions and 0 deletions
p4a_rename_test/pythonforandroid/recipes/numpy/patches
|
@ -0,0 +1,34 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue