summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pytables/files/pytables-2.1.2-no-old-num.patch')
-rw-r--r--dev-python/pytables/files/pytables-2.1.2-no-old-num.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/pytables/files/pytables-2.1.2-no-old-num.patch b/dev-python/pytables/files/pytables-2.1.2-no-old-num.patch
new file mode 100644
index 000000000000..9e86effc2d29
--- /dev/null
+++ b/dev-python/pytables/files/pytables-2.1.2-no-old-num.patch
@@ -0,0 +1,38 @@
+--- tables/tests/test_all.py.orig 2010-01-19 17:12:43.000000000 +0000
++++ tables/tests/test_all.py 2010-01-19 17:13:23.000000000 +0000
+@@ -51,35 +51,6 @@
+ test_modules.append('tables.tests.test_indexvalues')
+ test_modules.append('tables.tests.test_index_backcompat')
+
+- # Add test_Numeric only if Numeric is installed
+- if common.numeric_imported:
+- import Numeric
+- print "Numeric (version %s) is present. Adding the Numeric test suite." % \
+- (Numeric.__version__)
+- if Numeric.__version__ < minimum_numeric_version:
+- print "*Warning*: Numeric version is lower than recommended: %s < %s" % \
+- (Numeric.__version__, minimum_numeric_version)
+- test_modules.append("tables.tests.test_Numeric")
+- else:
+- print "Skipping Numeric test suite."
+-
+- # Add test_numarray only if numarray is installed
+- if common.numarray_imported:
+- import numarray
+- print \
+-"""numarray (version %s) is present. Adding the numarray test suite.""" % \
+- (numarray.__version__)
+- if numarray.__version__ < minimum_numarray_version:
+- print \
+-"*Warning*: Numarray version is lower than recommended: %s < %s" % \
+- (numarray.__version__, minimum_numarray_version)
+- test_modules.append("tables.tests.test_numarray")
+- test_modules.append("tables.nra.tests.test_nestedrecords")
+- test_modules.append("tables.nra.tests.test_nriterators")
+- else:
+- print "Skipping numarray test suite."
+- print '-=' * 38
+-
+
+ # The test for garbage must be run *in the last place*.
+ # Else, it is not as useful.