summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorFrederik Rietdijk <freddyrietdijk@fridh.nl>2016-01-15 17:23:03 +0100
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2016-01-15 17:23:03 +0100
commite99005382e171b8dec4662acffc5ad441ddfaa2c (patch)
tree68448d39d6dd67f499757e0ec9bae2ae5b9de698 /pkgs/development/python-modules
parent2fcee55e5fe46c8c4a7aa6bfdab7a9c9188f7a84 (diff)
parent83bf145075b74f85b47f899cc5f4a79660e267cd (diff)
downloadnixpkgs-e99005382e171b8dec4662acffc5ad441ddfaa2c.tar
nixpkgs-e99005382e171b8dec4662acffc5ad441ddfaa2c.tar.gz
nixpkgs-e99005382e171b8dec4662acffc5ad441ddfaa2c.tar.bz2
nixpkgs-e99005382e171b8dec4662acffc5ad441ddfaa2c.tar.lz
nixpkgs-e99005382e171b8dec4662acffc5ad441ddfaa2c.tar.xz
nixpkgs-e99005382e171b8dec4662acffc5ad441ddfaa2c.tar.zst
nixpkgs-e99005382e171b8dec4662acffc5ad441ddfaa2c.zip
Merge pull request #12214 from FRidh/numpy
pythonPackages.numpy: 1.10.2 -> 1.10.4
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/numpy-no-large-files.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/pkgs/development/python-modules/numpy-no-large-files.patch b/pkgs/development/python-modules/numpy-no-large-files.patch
deleted file mode 100644
index 0eb415606d3..00000000000
--- a/pkgs/development/python-modules/numpy-no-large-files.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- numpy/lib/tests/test_format.py	2015-08-11 12:03:43.000000000 -0500
-+++ numpy/lib/tests/test_format_no_large_files.py	2015-11-03 16:03:30.328084827 -0600
-@@ -810,32 +810,5 @@
-     format.write_array_header_1_0(s, d)
-     assert_raises(ValueError, format.read_array_header_1_0, s)
- 
--
--def test_large_file_support():
--    from nose import SkipTest
--    if (sys.platform == 'win32' or sys.platform == 'cygwin'):
--        raise SkipTest("Unknown if Windows has sparse filesystems")
--    # try creating a large sparse file
--    tf_name = os.path.join(tempdir, 'sparse_file')
--    try:
--        # seek past end would work too, but linux truncate somewhat
--        # increases the chances that we have a sparse filesystem and can
--        # avoid actually writing 5GB
--        import subprocess as sp
--        sp.check_call(["truncate", "-s", "5368709120", tf_name])
--    except:
--        raise SkipTest("Could not create 5GB large file")
--    # write a small array to the end
--    with open(tf_name, "wb") as f:
--        f.seek(5368709120)
--        d = np.arange(5)
--        np.save(f, d)
--    # read it back
--    with open(tf_name, "rb") as f:
--        f.seek(5368709120)
--        r = np.load(f)
--    assert_array_equal(r, d)
--
--
- if __name__ == "__main__":
-     run_module_suite()