This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
reports:74fa0e8 [2016/06/17 11:07] karandesai96 |
reports:74fa0e8 [2016/06/17 11:47] (current) karandesai96 |
||
---|---|---|---|
Line 342: | Line 342: | ||
} | } | ||
</script> | </script> | ||
- | <p>Report generated on 17-Jun-2016 at 14:37:10</p> | + | <p>Report generated on 17-Jun-2016 at 15:17:51</p> |
<h2>Environment</h2> | <h2>Environment</h2> | ||
<table id="environment"> | <table id="environment"> | ||
Line 352: | Line 352: | ||
<td>2.7.11</td></tr></table> | <td>2.7.11</td></tr></table> | ||
<h2>Summary</h2> | <h2>Summary</h2> | ||
- | <p>0 tests ran in 18.53 seconds.<br/><span class="passed">0 passed</span>, <span class="skipped">0 skipped</span>, <span class="failed">0 failed</span>, <span class="error">9 errors</span>.<br/><span class="skipped">0 expected failures</span>, <span class="failed">0 unexpected passes</span>.</p> | + | <p>9 tests ran in 109.34 seconds.<br/><span class="passed">8 passed</span>, <span class="skipped">0 skipped</span>, <span class="failed">1 failed</span>, <span class="error">0 errors</span>.<br/><span class="skipped">0 expected failures</span>, <span class="failed">0 unexpected passes</span>.</p> |
<h2>Results</h2> | <h2>Results</h2> | ||
<table id="results-table"> | <table id="results-table"> | ||
Line 362: | Line 362: | ||
<th>Links</th></tr></thead> | <th>Links</th></tr></thead> | ||
<tbody id="results-table-body"> | <tbody id="results-table-body"> | ||
- | <tr class="error results-table-row"> | + | <tr class="passed results-table-row"> |
- | <td class="col-result">Error</td> | + | <td class="col-result">Passed</td> |
- | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_j_estimators::setup</td> | + | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_j_estimators</td> |
- | <td class="col-duration">0.48</td> | + | <td class="col-duration">0.00</td> |
<td class="col-links"></td> | <td class="col-links"></td> | ||
<td class="extra"> | <td class="extra"> | ||
- | <div class="log">self = <CallInfo when='setup' exception: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'><br/>func = <function <lambda> at 0x7fbbeaa0ecf8>, when = 'setup'<br/><br/>> ???<br/><br/>_pytest.runner:149: <br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/>_pytest.runner:137: in <lambda><br/> ???<br/>_pytest.core:521: in __call__<br/> ???<br/>_pytest.core:528: in _docall<br/> ???<br/>_pytest.core:393: in execute<br/> ???<br/>_pytest.core:113: in wrapped_call<br/> ???<br/>_pytest.core:138: in get_result<br/> ???<br/>_pytest.core:123: in __init__<br/> ???<br/>_pytest.core:394: in execute<br/> ???<br/>_pytest.runner:86: in pytest_runtest_setup<br/> ???<br/>_pytest.runner:403: in prepare<br/> ???<br/>_pytest.python:1197: in setup<br/> ???<br/>_pytest.python:702: in fillfixtures<br/> ???<br/>_pytest.python:1345: in _fillfixtures<br/> ???<br/>_pytest.python:1388: in getfuncargvalue<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1883: in execute<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1921: in execute<br/> ???<br/>_pytest.python:1842: in call_fixture_func<br/> ???<br/>tardis/tests/tests_slow/conftest.py:109: in reference<br/> "quantities2.npz")))<br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/><br/>file = '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz', mmap_mode = None, allow_pickle = True, fix_imports = True, encoding = 'ASCII'<br/><br/> def load(file, mmap_mode=None, allow_pickle=True, fix_imports=True,<br/> encoding='ASCII'):<br/> """<br/> Load arrays or pickled objects from ``.npy``, ``.npz`` or pickled files.<br/> <br/> Parameters<br/> ----------<br/> file : file-like object or string<br/> The file to read. File-like objects must support the<br/> ``seek()`` and ``read()`` methods. Pickled files require that the<br/> file-like object support the ``readline()`` method as well.<br/> mmap_mode : {None, 'r+', 'r', 'w+', 'c'}, optional<br/> If not None, then memory-map the file, using the given mode (see<br/> `numpy.memmap` for a detailed description of the modes). A<br/> memory-mapped array is kept on disk. However, it can be accessed<br/> and sliced like any ndarray. Memory mapping is especially useful<br/> for accessing small fragments of large files without reading the<br/> entire file into memory.<br/> allow_pickle : bool, optional<br/> Allow loading pickled object arrays stored in npy files. Reasons for<br/> disallowing pickles include security, as loading pickled data can<br/> execute arbitrary code. If pickles are disallowed, loading object<br/> arrays will fail.<br/> Default: True<br/> fix_imports : bool, optional<br/> Only useful when loading Python 2 generated pickled files on Python 3,<br/> which includes npy/npz files containing object arrays. If `fix_imports`<br/> is True, pickle will try to map the old Python 2 names to the new names<br/> used in Python 3.<br/> encoding : str, optional<br/> What encoding to use when reading Python 2 strings. Only useful when<br/> loading Python 2 generated pickled files on Python 3, which includes<br/> npy/npz files containing object arrays. Values other than 'latin1',<br/> 'ASCII', and 'bytes' are not allowed, as they can corrupt numerical<br/> data. Default: 'ASCII'<br/> <br/> Returns<br/> -------<br/> result : array, tuple, dict, etc.<br/> Data stored in the file. For ``.npz`` files, the returned instance<br/> of NpzFile class must be closed to avoid leaking file descriptors.<br/> <br/> Raises<br/> ------<br/> IOError<br/> If the input file does not exist or cannot be read.<br/> ValueError<br/> The file contains an object array, but allow_pickle=False given.<br/> <br/> See Also<br/> --------<br/> save, savez, savez_compressed, loadtxt<br/> memmap : Create a memory-map to an array stored in a file on disk.<br/> <br/> Notes<br/> -----<br/> - If the file contains pickle data, then whatever object is stored<br/> in the pickle is returned.<br/> - If the file is a ``.npy`` file, then a single array is returned.<br/> - If the file is a ``.npz`` file, then a dictionary-like object is<br/> returned, containing ``{filename: array}`` key-value pairs, one for<br/> each file in the archive.<br/> - If the file is a ``.npz`` file, the returned value supports the<br/> context manager protocol in a similar fashion to the open function::<br/> <br/> with load('foo.npz') as data:<br/> a = data['a']<br/> <br/> The underlying file descriptor is closed when exiting the 'with'<br/> block.<br/> <br/> Examples<br/> --------<br/> Store data to disk, and load it again:<br/> <br/> >>> np.save('/tmp/123', np.array([[1, 2, 3], [4, 5, 6]]))<br/> >>> np.load('/tmp/123.npy')<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> <br/> Store compressed data to disk, and load it again:<br/> <br/> >>> a=np.array([[1, 2, 3], [4, 5, 6]])<br/> >>> b=np.array([1, 2])<br/> >>> np.savez('/tmp/123.npz', a=a, b=b)<br/> >>> data = np.load('/tmp/123.npz')<br/> >>> data['a']<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> >>> data['b']<br/> array([1, 2])<br/> >>> data.close()<br/> <br/> Mem-map the stored array, and then access the second row<br/> directly from disk:<br/> <br/> >>> X = np.load('/tmp/123.npy', mmap_mode='r')<br/> >>> X[1, :]<br/> memmap([4, 5, 6])<br/> <br/> """<br/> import gzip<br/> <br/> own_fid = False<br/> if isinstance(file, basestring):<br/>> fid = open(file, "rb")<br/><span class="error">E IOError: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'</span><br/><br/>/home/darth_sidious/anaconda2/envs/tardis/lib/python2.7/site-packages/numpy/lib/npyio.py:362: IOError<br/></div></td></tr> | + | <div class="empty log" style="height: 10px, clear:both">No log output captured.</div></td></tr> |
- | <tr class="error results-table-row"> | + | <tr class="passed results-table-row"> |
- | <td class="col-result">Error</td> | + | <td class="col-result">Passed</td> |
- | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_j_blue_estimators::setup</td> | + | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_j_blue_estimators</td> |
- | <td class="col-duration">0.00</td> | + | <td class="col-duration">0.98</td> |
<td class="col-links"></td> | <td class="col-links"></td> | ||
<td class="extra"> | <td class="extra"> | ||
- | <div class="log">self = <CallInfo when='setup' exception: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'><br/>func = <function <lambda> at 0x7fbbf16620c8>, when = 'setup'<br/><br/>> ???<br/><br/>_pytest.runner:149: <br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/>_pytest.runner:137: in <lambda><br/> ???<br/>_pytest.core:521: in __call__<br/> ???<br/>_pytest.core:528: in _docall<br/> ???<br/>_pytest.core:393: in execute<br/> ???<br/>_pytest.core:113: in wrapped_call<br/> ???<br/>_pytest.core:138: in get_result<br/> ???<br/>_pytest.core:123: in __init__<br/> ???<br/>_pytest.core:394: in execute<br/> ???<br/>_pytest.runner:86: in pytest_runtest_setup<br/> ???<br/>_pytest.runner:403: in prepare<br/> ???<br/>_pytest.python:1197: in setup<br/> ???<br/>_pytest.python:702: in fillfixtures<br/> ???<br/>_pytest.python:1345: in _fillfixtures<br/> ???<br/>_pytest.python:1388: in getfuncargvalue<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1883: in execute<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1896: in execute<br/> ???<br/>_pytest.python:1921: in execute<br/> ???<br/>_pytest.python:1842: in call_fixture_func<br/> ???<br/>tardis/tests/tests_slow/conftest.py:109: in reference<br/> "quantities2.npz")))<br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/><br/>file = '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz', mmap_mode = None, allow_pickle = True, fix_imports = True, encoding = 'ASCII'<br/><br/> def load(file, mmap_mode=None, allow_pickle=True, fix_imports=True,<br/> encoding='ASCII'):<br/> """<br/> Load arrays or pickled objects from ``.npy``, ``.npz`` or pickled files.<br/> <br/> Parameters<br/> ----------<br/> file : file-like object or string<br/> The file to read. File-like objects must support the<br/> ``seek()`` and ``read()`` methods. Pickled files require that the<br/> file-like object support the ``readline()`` method as well.<br/> mmap_mode : {None, 'r+', 'r', 'w+', 'c'}, optional<br/> If not None, then memory-map the file, using the given mode (see<br/> `numpy.memmap` for a detailed description of the modes). A<br/> memory-mapped array is kept on disk. However, it can be accessed<br/> and sliced like any ndarray. Memory mapping is especially useful<br/> for accessing small fragments of large files without reading the<br/> entire file into memory.<br/> allow_pickle : bool, optional<br/> Allow loading pickled object arrays stored in npy files. Reasons for<br/> disallowing pickles include security, as loading pickled data can<br/> execute arbitrary code. If pickles are disallowed, loading object<br/> arrays will fail.<br/> Default: True<br/> fix_imports : bool, optional<br/> Only useful when loading Python 2 generated pickled files on Python 3,<br/> which includes npy/npz files containing object arrays. If `fix_imports`<br/> is True, pickle will try to map the old Python 2 names to the new names<br/> used in Python 3.<br/> encoding : str, optional<br/> What encoding to use when reading Python 2 strings. Only useful when<br/> loading Python 2 generated pickled files on Python 3, which includes<br/> npy/npz files containing object arrays. Values other than 'latin1',<br/> 'ASCII', and 'bytes' are not allowed, as they can corrupt numerical<br/> data. Default: 'ASCII'<br/> <br/> Returns<br/> -------<br/> result : array, tuple, dict, etc.<br/> Data stored in the file. For ``.npz`` files, the returned instance<br/> of NpzFile class must be closed to avoid leaking file descriptors.<br/> <br/> Raises<br/> ------<br/> IOError<br/> If the input file does not exist or cannot be read.<br/> ValueError<br/> The file contains an object array, but allow_pickle=False given.<br/> <br/> See Also<br/> --------<br/> save, savez, savez_compressed, loadtxt<br/> memmap : Create a memory-map to an array stored in a file on disk.<br/> <br/> Notes<br/> -----<br/> - If the file contains pickle data, then whatever object is stored<br/> in the pickle is returned.<br/> - If the file is a ``.npy`` file, then a single array is returned.<br/> - If the file is a ``.npz`` file, then a dictionary-like object is<br/> returned, containing ``{filename: array}`` key-value pairs, one for<br/> each file in the archive.<br/> - If the file is a ``.npz`` file, the returned value supports the<br/> context manager protocol in a similar fashion to the open function::<br/> <br/> with load('foo.npz') as data:<br/> a = data['a']<br/> <br/> The underlying file descriptor is closed when exiting the 'with'<br/> block.<br/> <br/> Examples<br/> --------<br/> Store data to disk, and load it again:<br/> <br/> >>> np.save('/tmp/123', np.array([[1, 2, 3], [4, 5, 6]]))<br/> >>> np.load('/tmp/123.npy')<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> <br/> Store compressed data to disk, and load it again:<br/> <br/> >>> a=np.array([[1, 2, 3], [4, 5, 6]])<br/> >>> b=np.array([1, 2])<br/> >>> np.savez('/tmp/123.npz', a=a, b=b)<br/> >>> data = np.load('/tmp/123.npz')<br/> >>> data['a']<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> >>> data['b']<br/> array([1, 2])<br/> >>> data.close()<br/> <br/> Mem-map the stored array, and then access the second row<br/> directly from disk:<br/> <br/> >>> X = np.load('/tmp/123.npy', mmap_mode='r')<br/> >>> X[1, :]<br/> memmap([4, 5, 6])<br/> <br/> """<br/> import gzip<br/> <br/> own_fid = False<br/> if isinstance(file, basestring):<br/>> fid = open(file, "rb")<br/><span class="error">E IOError: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'</span><br/><br/>/home/darth_sidious/anaconda2/envs/tardis/lib/python2.7/site-packages/numpy/lib/npyio.py:362: IOError<br/></div></td></tr> | + | <div class="empty log" style="height: 10px, clear:both">No log output captured.</div></td></tr> |
- | <tr class="error results-table-row"> | + | <tr class="passed results-table-row"> |
- | <td class="col-result">Error</td> | + | <td class="col-result">Passed</td> |
- | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_last_line_interactions::setup</td> | + | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_last_line_interactions</td> |
<td class="col-duration">0.00</td> | <td class="col-duration">0.00</td> | ||
<td class="col-links"></td> | <td class="col-links"></td> | ||
<td class="extra"> | <td class="extra"> | ||
- | <div class="log">self = <CallInfo when='setup' exception: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'><br/>func = <function <lambda> at 0x7fbbea9d8410>, when = 'setup'<br/><br/>> ???<br/><br/>_pytest.runner:149: <br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/>_pytest.runner:137: in <lambda><br/> ???<br/>_pytest.core:521: in __call__<br/> ???<br/>_pytest.core:528: in _docall<br/> ???<br/>_pytest.core:393: in execute<br/> ???<br/>_pytest.core:113: in wrapped_call<br/> ???<br/>_pytest.core:138: in get_result<br/> ???<br/>_pytest.core:123: in __init__<br/> ???<br/>_pytest.core:394: in execute<br/> ???<br/>_pytest.runner:86: in pytest_runtest_setup<br/> ???<br/>_pytest.runner:403: in prepare<br/> ???<br/>_pytest.python:1197: in setup<br/> ???<br/>_pytest.python:702: in fillfixtures<br/> ???<br/>_pytest.python:1345: in _fillfixtures<br/> ???<br/>_pytest.python:1388: in getfuncargvalue<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1883: in execute<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1896: in execute<br/> ???<br/>_pytest.python:1921: in execute<br/> ???<br/>_pytest.python:1842: in call_fixture_func<br/> ???<br/>tardis/tests/tests_slow/conftest.py:109: in reference<br/> "quantities2.npz")))<br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/><br/>file = '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz', mmap_mode = None, allow_pickle = True, fix_imports = True, encoding = 'ASCII'<br/><br/> def load(file, mmap_mode=None, allow_pickle=True, fix_imports=True,<br/> encoding='ASCII'):<br/> """<br/> Load arrays or pickled objects from ``.npy``, ``.npz`` or pickled files.<br/> <br/> Parameters<br/> ----------<br/> file : file-like object or string<br/> The file to read. File-like objects must support the<br/> ``seek()`` and ``read()`` methods. Pickled files require that the<br/> file-like object support the ``readline()`` method as well.<br/> mmap_mode : {None, 'r+', 'r', 'w+', 'c'}, optional<br/> If not None, then memory-map the file, using the given mode (see<br/> `numpy.memmap` for a detailed description of the modes). A<br/> memory-mapped array is kept on disk. However, it can be accessed<br/> and sliced like any ndarray. Memory mapping is especially useful<br/> for accessing small fragments of large files without reading the<br/> entire file into memory.<br/> allow_pickle : bool, optional<br/> Allow loading pickled object arrays stored in npy files. Reasons for<br/> disallowing pickles include security, as loading pickled data can<br/> execute arbitrary code. If pickles are disallowed, loading object<br/> arrays will fail.<br/> Default: True<br/> fix_imports : bool, optional<br/> Only useful when loading Python 2 generated pickled files on Python 3,<br/> which includes npy/npz files containing object arrays. If `fix_imports`<br/> is True, pickle will try to map the old Python 2 names to the new names<br/> used in Python 3.<br/> encoding : str, optional<br/> What encoding to use when reading Python 2 strings. Only useful when<br/> loading Python 2 generated pickled files on Python 3, which includes<br/> npy/npz files containing object arrays. Values other than 'latin1',<br/> 'ASCII', and 'bytes' are not allowed, as they can corrupt numerical<br/> data. Default: 'ASCII'<br/> <br/> Returns<br/> -------<br/> result : array, tuple, dict, etc.<br/> Data stored in the file. For ``.npz`` files, the returned instance<br/> of NpzFile class must be closed to avoid leaking file descriptors.<br/> <br/> Raises<br/> ------<br/> IOError<br/> If the input file does not exist or cannot be read.<br/> ValueError<br/> The file contains an object array, but allow_pickle=False given.<br/> <br/> See Also<br/> --------<br/> save, savez, savez_compressed, loadtxt<br/> memmap : Create a memory-map to an array stored in a file on disk.<br/> <br/> Notes<br/> -----<br/> - If the file contains pickle data, then whatever object is stored<br/> in the pickle is returned.<br/> - If the file is a ``.npy`` file, then a single array is returned.<br/> - If the file is a ``.npz`` file, then a dictionary-like object is<br/> returned, containing ``{filename: array}`` key-value pairs, one for<br/> each file in the archive.<br/> - If the file is a ``.npz`` file, the returned value supports the<br/> context manager protocol in a similar fashion to the open function::<br/> <br/> with load('foo.npz') as data:<br/> a = data['a']<br/> <br/> The underlying file descriptor is closed when exiting the 'with'<br/> block.<br/> <br/> Examples<br/> --------<br/> Store data to disk, and load it again:<br/> <br/> >>> np.save('/tmp/123', np.array([[1, 2, 3], [4, 5, 6]]))<br/> >>> np.load('/tmp/123.npy')<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> <br/> Store compressed data to disk, and load it again:<br/> <br/> >>> a=np.array([[1, 2, 3], [4, 5, 6]])<br/> >>> b=np.array([1, 2])<br/> >>> np.savez('/tmp/123.npz', a=a, b=b)<br/> >>> data = np.load('/tmp/123.npz')<br/> >>> data['a']<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> >>> data['b']<br/> array([1, 2])<br/> >>> data.close()<br/> <br/> Mem-map the stored array, and then access the second row<br/> directly from disk:<br/> <br/> >>> X = np.load('/tmp/123.npy', mmap_mode='r')<br/> >>> X[1, :]<br/> memmap([4, 5, 6])<br/> <br/> """<br/> import gzip<br/> <br/> own_fid = False<br/> if isinstance(file, basestring):<br/>> fid = open(file, "rb")<br/><span class="error">E IOError: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'</span><br/><br/>/home/darth_sidious/anaconda2/envs/tardis/lib/python2.7/site-packages/numpy/lib/npyio.py:362: IOError<br/></div></td></tr> | + | <div class="empty log" style="height: 10px, clear:both">No log output captured.</div></td></tr> |
- | <tr class="error results-table-row"> | + | <tr class="passed results-table-row"> |
- | <td class="col-result">Error</td> | + | <td class="col-result">Passed</td> |
- | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_nubar_estimators::setup</td> | + | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_nubar_estimators</td> |
<td class="col-duration">0.00</td> | <td class="col-duration">0.00</td> | ||
<td class="col-links"></td> | <td class="col-links"></td> | ||
<td class="extra"> | <td class="extra"> | ||
- | <div class="log">self = <CallInfo when='setup' exception: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'><br/>func = <function <lambda> at 0x7fbbe6f24578>, when = 'setup'<br/><br/>> ???<br/><br/>_pytest.runner:149: <br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/>_pytest.runner:137: in <lambda><br/> ???<br/>_pytest.core:521: in __call__<br/> ???<br/>_pytest.core:528: in _docall<br/> ???<br/>_pytest.core:393: in execute<br/> ???<br/>_pytest.core:113: in wrapped_call<br/> ???<br/>_pytest.core:138: in get_result<br/> ???<br/>_pytest.core:123: in __init__<br/> ???<br/>_pytest.core:394: in execute<br/> ???<br/>_pytest.runner:86: in pytest_runtest_setup<br/> ???<br/>_pytest.runner:403: in prepare<br/> ???<br/>_pytest.python:1197: in setup<br/> ???<br/>_pytest.python:702: in fillfixtures<br/> ???<br/>_pytest.python:1345: in _fillfixtures<br/> ???<br/>_pytest.python:1388: in getfuncargvalue<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1883: in execute<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1896: in execute<br/> ???<br/>_pytest.python:1921: in execute<br/> ???<br/>_pytest.python:1842: in call_fixture_func<br/> ???<br/>tardis/tests/tests_slow/conftest.py:109: in reference<br/> "quantities2.npz")))<br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/><br/>file = '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz', mmap_mode = None, allow_pickle = True, fix_imports = True, encoding = 'ASCII'<br/><br/> def load(file, mmap_mode=None, allow_pickle=True, fix_imports=True,<br/> encoding='ASCII'):<br/> """<br/> Load arrays or pickled objects from ``.npy``, ``.npz`` or pickled files.<br/> <br/> Parameters<br/> ----------<br/> file : file-like object or string<br/> The file to read. File-like objects must support the<br/> ``seek()`` and ``read()`` methods. Pickled files require that the<br/> file-like object support the ``readline()`` method as well.<br/> mmap_mode : {None, 'r+', 'r', 'w+', 'c'}, optional<br/> If not None, then memory-map the file, using the given mode (see<br/> `numpy.memmap` for a detailed description of the modes). A<br/> memory-mapped array is kept on disk. However, it can be accessed<br/> and sliced like any ndarray. Memory mapping is especially useful<br/> for accessing small fragments of large files without reading the<br/> entire file into memory.<br/> allow_pickle : bool, optional<br/> Allow loading pickled object arrays stored in npy files. Reasons for<br/> disallowing pickles include security, as loading pickled data can<br/> execute arbitrary code. If pickles are disallowed, loading object<br/> arrays will fail.<br/> Default: True<br/> fix_imports : bool, optional<br/> Only useful when loading Python 2 generated pickled files on Python 3,<br/> which includes npy/npz files containing object arrays. If `fix_imports`<br/> is True, pickle will try to map the old Python 2 names to the new names<br/> used in Python 3.<br/> encoding : str, optional<br/> What encoding to use when reading Python 2 strings. Only useful when<br/> loading Python 2 generated pickled files on Python 3, which includes<br/> npy/npz files containing object arrays. Values other than 'latin1',<br/> 'ASCII', and 'bytes' are not allowed, as they can corrupt numerical<br/> data. Default: 'ASCII'<br/> <br/> Returns<br/> -------<br/> result : array, tuple, dict, etc.<br/> Data stored in the file. For ``.npz`` files, the returned instance<br/> of NpzFile class must be closed to avoid leaking file descriptors.<br/> <br/> Raises<br/> ------<br/> IOError<br/> If the input file does not exist or cannot be read.<br/> ValueError<br/> The file contains an object array, but allow_pickle=False given.<br/> <br/> See Also<br/> --------<br/> save, savez, savez_compressed, loadtxt<br/> memmap : Create a memory-map to an array stored in a file on disk.<br/> <br/> Notes<br/> -----<br/> - If the file contains pickle data, then whatever object is stored<br/> in the pickle is returned.<br/> - If the file is a ``.npy`` file, then a single array is returned.<br/> - If the file is a ``.npz`` file, then a dictionary-like object is<br/> returned, containing ``{filename: array}`` key-value pairs, one for<br/> each file in the archive.<br/> - If the file is a ``.npz`` file, the returned value supports the<br/> context manager protocol in a similar fashion to the open function::<br/> <br/> with load('foo.npz') as data:<br/> a = data['a']<br/> <br/> The underlying file descriptor is closed when exiting the 'with'<br/> block.<br/> <br/> Examples<br/> --------<br/> Store data to disk, and load it again:<br/> <br/> >>> np.save('/tmp/123', np.array([[1, 2, 3], [4, 5, 6]]))<br/> >>> np.load('/tmp/123.npy')<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> <br/> Store compressed data to disk, and load it again:<br/> <br/> >>> a=np.array([[1, 2, 3], [4, 5, 6]])<br/> >>> b=np.array([1, 2])<br/> >>> np.savez('/tmp/123.npz', a=a, b=b)<br/> >>> data = np.load('/tmp/123.npz')<br/> >>> data['a']<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> >>> data['b']<br/> array([1, 2])<br/> >>> data.close()<br/> <br/> Mem-map the stored array, and then access the second row<br/> directly from disk:<br/> <br/> >>> X = np.load('/tmp/123.npy', mmap_mode='r')<br/> >>> X[1, :]<br/> memmap([4, 5, 6])<br/> <br/> """<br/> import gzip<br/> <br/> own_fid = False<br/> if isinstance(file, basestring):<br/>> fid = open(file, "rb")<br/><span class="error">E IOError: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'</span><br/><br/>/home/darth_sidious/anaconda2/envs/tardis/lib/python2.7/site-packages/numpy/lib/npyio.py:362: IOError<br/></div></td></tr> | + | <div class="empty log" style="height: 10px, clear:both">No log output captured.</div></td></tr> |
- | <tr class="error results-table-row"> | + | <tr class="passed results-table-row"> |
- | <td class="col-result">Error</td> | + | <td class="col-result">Passed</td> |
- | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_ws::setup</td> | + | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_ws</td> |
<td class="col-duration">0.00</td> | <td class="col-duration">0.00</td> | ||
<td class="col-links"></td> | <td class="col-links"></td> | ||
<td class="extra"> | <td class="extra"> | ||
- | <div class="log">self = <CallInfo when='setup' exception: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'><br/>func = <function <lambda> at 0x7fbbe6f82aa0>, when = 'setup'<br/><br/>> ???<br/><br/>_pytest.runner:149: <br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/>_pytest.runner:137: in <lambda><br/> ???<br/>_pytest.core:521: in __call__<br/> ???<br/>_pytest.core:528: in _docall<br/> ???<br/>_pytest.core:393: in execute<br/> ???<br/>_pytest.core:113: in wrapped_call<br/> ???<br/>_pytest.core:138: in get_result<br/> ???<br/>_pytest.core:123: in __init__<br/> ???<br/>_pytest.core:394: in execute<br/> ???<br/>_pytest.runner:86: in pytest_runtest_setup<br/> ???<br/>_pytest.runner:403: in prepare<br/> ???<br/>_pytest.python:1197: in setup<br/> ???<br/>_pytest.python:702: in fillfixtures<br/> ???<br/>_pytest.python:1345: in _fillfixtures<br/> ???<br/>_pytest.python:1388: in getfuncargvalue<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1883: in execute<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1896: in execute<br/> ???<br/>_pytest.python:1921: in execute<br/> ???<br/>_pytest.python:1842: in call_fixture_func<br/> ???<br/>tardis/tests/tests_slow/conftest.py:109: in reference<br/> "quantities2.npz")))<br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/><br/>file = '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz', mmap_mode = None, allow_pickle = True, fix_imports = True, encoding = 'ASCII'<br/><br/> def load(file, mmap_mode=None, allow_pickle=True, fix_imports=True,<br/> encoding='ASCII'):<br/> """<br/> Load arrays or pickled objects from ``.npy``, ``.npz`` or pickled files.<br/> <br/> Parameters<br/> ----------<br/> file : file-like object or string<br/> The file to read. File-like objects must support the<br/> ``seek()`` and ``read()`` methods. Pickled files require that the<br/> file-like object support the ``readline()`` method as well.<br/> mmap_mode : {None, 'r+', 'r', 'w+', 'c'}, optional<br/> If not None, then memory-map the file, using the given mode (see<br/> `numpy.memmap` for a detailed description of the modes). A<br/> memory-mapped array is kept on disk. However, it can be accessed<br/> and sliced like any ndarray. Memory mapping is especially useful<br/> for accessing small fragments of large files without reading the<br/> entire file into memory.<br/> allow_pickle : bool, optional<br/> Allow loading pickled object arrays stored in npy files. Reasons for<br/> disallowing pickles include security, as loading pickled data can<br/> execute arbitrary code. If pickles are disallowed, loading object<br/> arrays will fail.<br/> Default: True<br/> fix_imports : bool, optional<br/> Only useful when loading Python 2 generated pickled files on Python 3,<br/> which includes npy/npz files containing object arrays. If `fix_imports`<br/> is True, pickle will try to map the old Python 2 names to the new names<br/> used in Python 3.<br/> encoding : str, optional<br/> What encoding to use when reading Python 2 strings. Only useful when<br/> loading Python 2 generated pickled files on Python 3, which includes<br/> npy/npz files containing object arrays. Values other than 'latin1',<br/> 'ASCII', and 'bytes' are not allowed, as they can corrupt numerical<br/> data. Default: 'ASCII'<br/> <br/> Returns<br/> -------<br/> result : array, tuple, dict, etc.<br/> Data stored in the file. For ``.npz`` files, the returned instance<br/> of NpzFile class must be closed to avoid leaking file descriptors.<br/> <br/> Raises<br/> ------<br/> IOError<br/> If the input file does not exist or cannot be read.<br/> ValueError<br/> The file contains an object array, but allow_pickle=False given.<br/> <br/> See Also<br/> --------<br/> save, savez, savez_compressed, loadtxt<br/> memmap : Create a memory-map to an array stored in a file on disk.<br/> <br/> Notes<br/> -----<br/> - If the file contains pickle data, then whatever object is stored<br/> in the pickle is returned.<br/> - If the file is a ``.npy`` file, then a single array is returned.<br/> - If the file is a ``.npz`` file, then a dictionary-like object is<br/> returned, containing ``{filename: array}`` key-value pairs, one for<br/> each file in the archive.<br/> - If the file is a ``.npz`` file, the returned value supports the<br/> context manager protocol in a similar fashion to the open function::<br/> <br/> with load('foo.npz') as data:<br/> a = data['a']<br/> <br/> The underlying file descriptor is closed when exiting the 'with'<br/> block.<br/> <br/> Examples<br/> --------<br/> Store data to disk, and load it again:<br/> <br/> >>> np.save('/tmp/123', np.array([[1, 2, 3], [4, 5, 6]]))<br/> >>> np.load('/tmp/123.npy')<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> <br/> Store compressed data to disk, and load it again:<br/> <br/> >>> a=np.array([[1, 2, 3], [4, 5, 6]])<br/> >>> b=np.array([1, 2])<br/> >>> np.savez('/tmp/123.npz', a=a, b=b)<br/> >>> data = np.load('/tmp/123.npz')<br/> >>> data['a']<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> >>> data['b']<br/> array([1, 2])<br/> >>> data.close()<br/> <br/> Mem-map the stored array, and then access the second row<br/> directly from disk:<br/> <br/> >>> X = np.load('/tmp/123.npy', mmap_mode='r')<br/> >>> X[1, :]<br/> memmap([4, 5, 6])<br/> <br/> """<br/> import gzip<br/> <br/> own_fid = False<br/> if isinstance(file, basestring):<br/>> fid = open(file, "rb")<br/><span class="error">E IOError: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'</span><br/><br/>/home/darth_sidious/anaconda2/envs/tardis/lib/python2.7/site-packages/numpy/lib/npyio.py:362: IOError<br/></div></td></tr> | + | <div class="empty log" style="height: 10px, clear:both">No log output captured.</div></td></tr> |
- | <tr class="error results-table-row"> | + | <tr class="passed results-table-row"> |
- | <td class="col-result">Error</td> | + | <td class="col-result">Passed</td> |
- | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_luminosity_inner::setup</td> | + | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_luminosity_inner</td> |
<td class="col-duration">0.00</td> | <td class="col-duration">0.00</td> | ||
<td class="col-links"></td> | <td class="col-links"></td> | ||
<td class="extra"> | <td class="extra"> | ||
- | <div class="log">self = <CallInfo when='setup' exception: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'><br/>func = <function <lambda> at 0x7fbbe6f82c80>, when = 'setup'<br/><br/>> ???<br/><br/>_pytest.runner:149: <br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/>_pytest.runner:137: in <lambda><br/> ???<br/>_pytest.core:521: in __call__<br/> ???<br/>_pytest.core:528: in _docall<br/> ???<br/>_pytest.core:393: in execute<br/> ???<br/>_pytest.core:113: in wrapped_call<br/> ???<br/>_pytest.core:138: in get_result<br/> ???<br/>_pytest.core:123: in __init__<br/> ???<br/>_pytest.core:394: in execute<br/> ???<br/>_pytest.runner:86: in pytest_runtest_setup<br/> ???<br/>_pytest.runner:403: in prepare<br/> ???<br/>_pytest.python:1197: in setup<br/> ???<br/>_pytest.python:702: in fillfixtures<br/> ???<br/>_pytest.python:1345: in _fillfixtures<br/> ???<br/>_pytest.python:1388: in getfuncargvalue<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1883: in execute<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1896: in execute<br/> ???<br/>_pytest.python:1921: in execute<br/> ???<br/>_pytest.python:1842: in call_fixture_func<br/> ???<br/>tardis/tests/tests_slow/conftest.py:109: in reference<br/> "quantities2.npz")))<br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/><br/>file = '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz', mmap_mode = None, allow_pickle = True, fix_imports = True, encoding = 'ASCII'<br/><br/> def load(file, mmap_mode=None, allow_pickle=True, fix_imports=True,<br/> encoding='ASCII'):<br/> """<br/> Load arrays or pickled objects from ``.npy``, ``.npz`` or pickled files.<br/> <br/> Parameters<br/> ----------<br/> file : file-like object or string<br/> The file to read. File-like objects must support the<br/> ``seek()`` and ``read()`` methods. Pickled files require that the<br/> file-like object support the ``readline()`` method as well.<br/> mmap_mode : {None, 'r+', 'r', 'w+', 'c'}, optional<br/> If not None, then memory-map the file, using the given mode (see<br/> `numpy.memmap` for a detailed description of the modes). A<br/> memory-mapped array is kept on disk. However, it can be accessed<br/> and sliced like any ndarray. Memory mapping is especially useful<br/> for accessing small fragments of large files without reading the<br/> entire file into memory.<br/> allow_pickle : bool, optional<br/> Allow loading pickled object arrays stored in npy files. Reasons for<br/> disallowing pickles include security, as loading pickled data can<br/> execute arbitrary code. If pickles are disallowed, loading object<br/> arrays will fail.<br/> Default: True<br/> fix_imports : bool, optional<br/> Only useful when loading Python 2 generated pickled files on Python 3,<br/> which includes npy/npz files containing object arrays. If `fix_imports`<br/> is True, pickle will try to map the old Python 2 names to the new names<br/> used in Python 3.<br/> encoding : str, optional<br/> What encoding to use when reading Python 2 strings. Only useful when<br/> loading Python 2 generated pickled files on Python 3, which includes<br/> npy/npz files containing object arrays. Values other than 'latin1',<br/> 'ASCII', and 'bytes' are not allowed, as they can corrupt numerical<br/> data. Default: 'ASCII'<br/> <br/> Returns<br/> -------<br/> result : array, tuple, dict, etc.<br/> Data stored in the file. For ``.npz`` files, the returned instance<br/> of NpzFile class must be closed to avoid leaking file descriptors.<br/> <br/> Raises<br/> ------<br/> IOError<br/> If the input file does not exist or cannot be read.<br/> ValueError<br/> The file contains an object array, but allow_pickle=False given.<br/> <br/> See Also<br/> --------<br/> save, savez, savez_compressed, loadtxt<br/> memmap : Create a memory-map to an array stored in a file on disk.<br/> <br/> Notes<br/> -----<br/> - If the file contains pickle data, then whatever object is stored<br/> in the pickle is returned.<br/> - If the file is a ``.npy`` file, then a single array is returned.<br/> - If the file is a ``.npz`` file, then a dictionary-like object is<br/> returned, containing ``{filename: array}`` key-value pairs, one for<br/> each file in the archive.<br/> - If the file is a ``.npz`` file, the returned value supports the<br/> context manager protocol in a similar fashion to the open function::<br/> <br/> with load('foo.npz') as data:<br/> a = data['a']<br/> <br/> The underlying file descriptor is closed when exiting the 'with'<br/> block.<br/> <br/> Examples<br/> --------<br/> Store data to disk, and load it again:<br/> <br/> >>> np.save('/tmp/123', np.array([[1, 2, 3], [4, 5, 6]]))<br/> >>> np.load('/tmp/123.npy')<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> <br/> Store compressed data to disk, and load it again:<br/> <br/> >>> a=np.array([[1, 2, 3], [4, 5, 6]])<br/> >>> b=np.array([1, 2])<br/> >>> np.savez('/tmp/123.npz', a=a, b=b)<br/> >>> data = np.load('/tmp/123.npz')<br/> >>> data['a']<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> >>> data['b']<br/> array([1, 2])<br/> >>> data.close()<br/> <br/> Mem-map the stored array, and then access the second row<br/> directly from disk:<br/> <br/> >>> X = np.load('/tmp/123.npy', mmap_mode='r')<br/> >>> X[1, :]<br/> memmap([4, 5, 6])<br/> <br/> """<br/> import gzip<br/> <br/> own_fid = False<br/> if isinstance(file, basestring):<br/>> fid = open(file, "rb")<br/><span class="error">E IOError: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'</span><br/><br/>/home/darth_sidious/anaconda2/envs/tardis/lib/python2.7/site-packages/numpy/lib/npyio.py:362: IOError<br/></div></td></tr> | + | <div class="empty log" style="height: 10px, clear:both">No log output captured.</div></td></tr> |
- | <tr class="error results-table-row"> | + | <tr class="passed results-table-row"> |
- | <td class="col-result">Error</td> | + | <td class="col-result">Passed</td> |
- | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_spectrum::setup</td> | + | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_spectrum</td> |
- | <td class="col-duration">0.00</td> | + | <td class="col-duration">0.93</td> |
<td class="col-links"></td> | <td class="col-links"></td> | ||
<td class="extra"> | <td class="extra"> | ||
- | <div class="log">self = <CallInfo when='setup' exception: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'><br/>func = <function <lambda> at 0x7fbbe6def5f0>, when = 'setup'<br/><br/>> ???<br/><br/>_pytest.runner:149: <br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/>_pytest.runner:137: in <lambda><br/> ???<br/>_pytest.core:521: in __call__<br/> ???<br/>_pytest.core:528: in _docall<br/> ???<br/>_pytest.core:393: in execute<br/> ???<br/>_pytest.core:113: in wrapped_call<br/> ???<br/>_pytest.core:138: in get_result<br/> ???<br/>_pytest.core:123: in __init__<br/> ???<br/>_pytest.core:394: in execute<br/> ???<br/>_pytest.runner:86: in pytest_runtest_setup<br/> ???<br/>_pytest.runner:403: in prepare<br/> ???<br/>_pytest.python:1197: in setup<br/> ???<br/>_pytest.python:702: in fillfixtures<br/> ???<br/>_pytest.python:1345: in _fillfixtures<br/> ???<br/>_pytest.python:1388: in getfuncargvalue<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1883: in execute<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1896: in execute<br/> ???<br/>_pytest.python:1921: in execute<br/> ???<br/>_pytest.python:1842: in call_fixture_func<br/> ???<br/>tardis/tests/tests_slow/conftest.py:109: in reference<br/> "quantities2.npz")))<br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/><br/>file = '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz', mmap_mode = None, allow_pickle = True, fix_imports = True, encoding = 'ASCII'<br/><br/> def load(file, mmap_mode=None, allow_pickle=True, fix_imports=True,<br/> encoding='ASCII'):<br/> """<br/> Load arrays or pickled objects from ``.npy``, ``.npz`` or pickled files.<br/> <br/> Parameters<br/> ----------<br/> file : file-like object or string<br/> The file to read. File-like objects must support the<br/> ``seek()`` and ``read()`` methods. Pickled files require that the<br/> file-like object support the ``readline()`` method as well.<br/> mmap_mode : {None, 'r+', 'r', 'w+', 'c'}, optional<br/> If not None, then memory-map the file, using the given mode (see<br/> `numpy.memmap` for a detailed description of the modes). A<br/> memory-mapped array is kept on disk. However, it can be accessed<br/> and sliced like any ndarray. Memory mapping is especially useful<br/> for accessing small fragments of large files without reading the<br/> entire file into memory.<br/> allow_pickle : bool, optional<br/> Allow loading pickled object arrays stored in npy files. Reasons for<br/> disallowing pickles include security, as loading pickled data can<br/> execute arbitrary code. If pickles are disallowed, loading object<br/> arrays will fail.<br/> Default: True<br/> fix_imports : bool, optional<br/> Only useful when loading Python 2 generated pickled files on Python 3,<br/> which includes npy/npz files containing object arrays. If `fix_imports`<br/> is True, pickle will try to map the old Python 2 names to the new names<br/> used in Python 3.<br/> encoding : str, optional<br/> What encoding to use when reading Python 2 strings. Only useful when<br/> loading Python 2 generated pickled files on Python 3, which includes<br/> npy/npz files containing object arrays. Values other than 'latin1',<br/> 'ASCII', and 'bytes' are not allowed, as they can corrupt numerical<br/> data. Default: 'ASCII'<br/> <br/> Returns<br/> -------<br/> result : array, tuple, dict, etc.<br/> Data stored in the file. For ``.npz`` files, the returned instance<br/> of NpzFile class must be closed to avoid leaking file descriptors.<br/> <br/> Raises<br/> ------<br/> IOError<br/> If the input file does not exist or cannot be read.<br/> ValueError<br/> The file contains an object array, but allow_pickle=False given.<br/> <br/> See Also<br/> --------<br/> save, savez, savez_compressed, loadtxt<br/> memmap : Create a memory-map to an array stored in a file on disk.<br/> <br/> Notes<br/> -----<br/> - If the file contains pickle data, then whatever object is stored<br/> in the pickle is returned.<br/> - If the file is a ``.npy`` file, then a single array is returned.<br/> - If the file is a ``.npz`` file, then a dictionary-like object is<br/> returned, containing ``{filename: array}`` key-value pairs, one for<br/> each file in the archive.<br/> - If the file is a ``.npz`` file, the returned value supports the<br/> context manager protocol in a similar fashion to the open function::<br/> <br/> with load('foo.npz') as data:<br/> a = data['a']<br/> <br/> The underlying file descriptor is closed when exiting the 'with'<br/> block.<br/> <br/> Examples<br/> --------<br/> Store data to disk, and load it again:<br/> <br/> >>> np.save('/tmp/123', np.array([[1, 2, 3], [4, 5, 6]]))<br/> >>> np.load('/tmp/123.npy')<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> <br/> Store compressed data to disk, and load it again:<br/> <br/> >>> a=np.array([[1, 2, 3], [4, 5, 6]])<br/> >>> b=np.array([1, 2])<br/> >>> np.savez('/tmp/123.npz', a=a, b=b)<br/> >>> data = np.load('/tmp/123.npz')<br/> >>> data['a']<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> >>> data['b']<br/> array([1, 2])<br/> >>> data.close()<br/> <br/> Mem-map the stored array, and then access the second row<br/> directly from disk:<br/> <br/> >>> X = np.load('/tmp/123.npy', mmap_mode='r')<br/> >>> X[1, :]<br/> memmap([4, 5, 6])<br/> <br/> """<br/> import gzip<br/> <br/> own_fid = False<br/> if isinstance(file, basestring):<br/>> fid = open(file, "rb")<br/><span class="error">E IOError: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'</span><br/><br/>/home/darth_sidious/anaconda2/envs/tardis/lib/python2.7/site-packages/numpy/lib/npyio.py:362: IOError<br/></div></td></tr> | + | <div> |
- | <tr class="error results-table-row"> | + | <div class="image" style="float: left"> |
- | <td class="col-result">Error</td> | + | <a href="#"> |
- | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_montecarlo_properties::setup</td> | + | <img src= "http://opensupernova.org/~karandesai96/integration/lib/exe/fetch.php?media=plots:74fa0e8_spectrum.png" /> |
- | <td class="col-duration">0.00</td> | + | </a> |
+ | </div> | ||
+ | </div> | ||
+ | <div class="empty log" style="height: 10px, clear:both">No log output captured.</div></td></tr> | ||
+ | <tr class="passed results-table-row"> | ||
+ | <td class="col-result">Passed</td> | ||
+ | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_montecarlo_properties</td> | ||
+ | <td class="col-duration">0.02</td> | ||
<td class="col-links"></td> | <td class="col-links"></td> | ||
<td class="extra"> | <td class="extra"> | ||
- | <div class="log">self = <CallInfo when='setup' exception: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'><br/>func = <function <lambda> at 0x7fbbe6def668>, when = 'setup'<br/><br/>> ???<br/><br/>_pytest.runner:149: <br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/>_pytest.runner:137: in <lambda><br/> ???<br/>_pytest.core:521: in __call__<br/> ???<br/>_pytest.core:528: in _docall<br/> ???<br/>_pytest.core:393: in execute<br/> ???<br/>_pytest.core:113: in wrapped_call<br/> ???<br/>_pytest.core:138: in get_result<br/> ???<br/>_pytest.core:123: in __init__<br/> ???<br/>_pytest.core:394: in execute<br/> ???<br/>_pytest.runner:86: in pytest_runtest_setup<br/> ???<br/>_pytest.runner:403: in prepare<br/> ???<br/>_pytest.python:1197: in setup<br/> ???<br/>_pytest.python:702: in fillfixtures<br/> ???<br/>_pytest.python:1345: in _fillfixtures<br/> ???<br/>_pytest.python:1388: in getfuncargvalue<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1883: in execute<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1896: in execute<br/> ???<br/>_pytest.python:1921: in execute<br/> ???<br/>_pytest.python:1842: in call_fixture_func<br/> ???<br/>tardis/tests/tests_slow/conftest.py:109: in reference<br/> "quantities2.npz")))<br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/><br/>file = '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz', mmap_mode = None, allow_pickle = True, fix_imports = True, encoding = 'ASCII'<br/><br/> def load(file, mmap_mode=None, allow_pickle=True, fix_imports=True,<br/> encoding='ASCII'):<br/> """<br/> Load arrays or pickled objects from ``.npy``, ``.npz`` or pickled files.<br/> <br/> Parameters<br/> ----------<br/> file : file-like object or string<br/> The file to read. File-like objects must support the<br/> ``seek()`` and ``read()`` methods. Pickled files require that the<br/> file-like object support the ``readline()`` method as well.<br/> mmap_mode : {None, 'r+', 'r', 'w+', 'c'}, optional<br/> If not None, then memory-map the file, using the given mode (see<br/> `numpy.memmap` for a detailed description of the modes). A<br/> memory-mapped array is kept on disk. However, it can be accessed<br/> and sliced like any ndarray. Memory mapping is especially useful<br/> for accessing small fragments of large files without reading the<br/> entire file into memory.<br/> allow_pickle : bool, optional<br/> Allow loading pickled object arrays stored in npy files. Reasons for<br/> disallowing pickles include security, as loading pickled data can<br/> execute arbitrary code. If pickles are disallowed, loading object<br/> arrays will fail.<br/> Default: True<br/> fix_imports : bool, optional<br/> Only useful when loading Python 2 generated pickled files on Python 3,<br/> which includes npy/npz files containing object arrays. If `fix_imports`<br/> is True, pickle will try to map the old Python 2 names to the new names<br/> used in Python 3.<br/> encoding : str, optional<br/> What encoding to use when reading Python 2 strings. Only useful when<br/> loading Python 2 generated pickled files on Python 3, which includes<br/> npy/npz files containing object arrays. Values other than 'latin1',<br/> 'ASCII', and 'bytes' are not allowed, as they can corrupt numerical<br/> data. Default: 'ASCII'<br/> <br/> Returns<br/> -------<br/> result : array, tuple, dict, etc.<br/> Data stored in the file. For ``.npz`` files, the returned instance<br/> of NpzFile class must be closed to avoid leaking file descriptors.<br/> <br/> Raises<br/> ------<br/> IOError<br/> If the input file does not exist or cannot be read.<br/> ValueError<br/> The file contains an object array, but allow_pickle=False given.<br/> <br/> See Also<br/> --------<br/> save, savez, savez_compressed, loadtxt<br/> memmap : Create a memory-map to an array stored in a file on disk.<br/> <br/> Notes<br/> -----<br/> - If the file contains pickle data, then whatever object is stored<br/> in the pickle is returned.<br/> - If the file is a ``.npy`` file, then a single array is returned.<br/> - If the file is a ``.npz`` file, then a dictionary-like object is<br/> returned, containing ``{filename: array}`` key-value pairs, one for<br/> each file in the archive.<br/> - If the file is a ``.npz`` file, the returned value supports the<br/> context manager protocol in a similar fashion to the open function::<br/> <br/> with load('foo.npz') as data:<br/> a = data['a']<br/> <br/> The underlying file descriptor is closed when exiting the 'with'<br/> block.<br/> <br/> Examples<br/> --------<br/> Store data to disk, and load it again:<br/> <br/> >>> np.save('/tmp/123', np.array([[1, 2, 3], [4, 5, 6]]))<br/> >>> np.load('/tmp/123.npy')<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> <br/> Store compressed data to disk, and load it again:<br/> <br/> >>> a=np.array([[1, 2, 3], [4, 5, 6]])<br/> >>> b=np.array([1, 2])<br/> >>> np.savez('/tmp/123.npz', a=a, b=b)<br/> >>> data = np.load('/tmp/123.npz')<br/> >>> data['a']<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> >>> data['b']<br/> array([1, 2])<br/> >>> data.close()<br/> <br/> Mem-map the stored array, and then access the second row<br/> directly from disk:<br/> <br/> >>> X = np.load('/tmp/123.npy', mmap_mode='r')<br/> >>> X[1, :]<br/> memmap([4, 5, 6])<br/> <br/> """<br/> import gzip<br/> <br/> own_fid = False<br/> if isinstance(file, basestring):<br/>> fid = open(file, "rb")<br/><span class="error">E IOError: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'</span><br/><br/>/home/darth_sidious/anaconda2/envs/tardis/lib/python2.7/site-packages/numpy/lib/npyio.py:362: IOError<br/></div></td></tr> | + | <div class="empty log" style="height: 10px, clear:both">No log output captured.</div></td></tr> |
- | <tr class="error results-table-row"> | + | <tr class="failed results-table-row"> |
- | <td class="col-result">Error</td> | + | <td class="col-result">Failed</td> |
- | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_shell_temperature::setup</td> | + | <td class="col-name">lib.linux-x86_64-2.7/tardis/tests/tests_slow/test_w7.py::TestW7::()::test_shell_temperature</td> |
- | <td class="col-duration">0.00</td> | + | <td class="col-duration">0.22</td> |
<td class="col-links"></td> | <td class="col-links"></td> | ||
<td class="extra"> | <td class="extra"> | ||
- | <div class="log">self = <CallInfo when='setup' exception: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'><br/>func = <function <lambda> at 0x7fbbe6f57578>, when = 'setup'<br/><br/>> ???<br/><br/>_pytest.runner:149: <br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/>_pytest.runner:137: in <lambda><br/> ???<br/>_pytest.core:521: in __call__<br/> ???<br/>_pytest.core:528: in _docall<br/> ???<br/>_pytest.core:393: in execute<br/> ???<br/>_pytest.core:113: in wrapped_call<br/> ???<br/>_pytest.core:138: in get_result<br/> ???<br/>_pytest.core:123: in __init__<br/> ???<br/>_pytest.core:394: in execute<br/> ???<br/>_pytest.runner:86: in pytest_runtest_setup<br/> ???<br/>_pytest.runner:403: in prepare<br/> ???<br/>_pytest.python:1197: in setup<br/> ???<br/>_pytest.python:702: in fillfixtures<br/> ???<br/>_pytest.python:1345: in _fillfixtures<br/> ???<br/>_pytest.python:1388: in getfuncargvalue<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1883: in execute<br/> ???<br/>_pytest.python:1405: in _get_active_fixturedef<br/> ???<br/>_pytest.python:1451: in _getfuncargvalue<br/> ???<br/>_pytest.python:1896: in execute<br/> ???<br/>_pytest.python:1921: in execute<br/> ???<br/>_pytest.python:1842: in call_fixture_func<br/> ???<br/>tardis/tests/tests_slow/conftest.py:109: in reference<br/> "quantities2.npz")))<br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/><br/>file = '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz', mmap_mode = None, allow_pickle = True, fix_imports = True, encoding = 'ASCII'<br/><br/> def load(file, mmap_mode=None, allow_pickle=True, fix_imports=True,<br/> encoding='ASCII'):<br/> """<br/> Load arrays or pickled objects from ``.npy``, ``.npz`` or pickled files.<br/> <br/> Parameters<br/> ----------<br/> file : file-like object or string<br/> The file to read. File-like objects must support the<br/> ``seek()`` and ``read()`` methods. Pickled files require that the<br/> file-like object support the ``readline()`` method as well.<br/> mmap_mode : {None, 'r+', 'r', 'w+', 'c'}, optional<br/> If not None, then memory-map the file, using the given mode (see<br/> `numpy.memmap` for a detailed description of the modes). A<br/> memory-mapped array is kept on disk. However, it can be accessed<br/> and sliced like any ndarray. Memory mapping is especially useful<br/> for accessing small fragments of large files without reading the<br/> entire file into memory.<br/> allow_pickle : bool, optional<br/> Allow loading pickled object arrays stored in npy files. Reasons for<br/> disallowing pickles include security, as loading pickled data can<br/> execute arbitrary code. If pickles are disallowed, loading object<br/> arrays will fail.<br/> Default: True<br/> fix_imports : bool, optional<br/> Only useful when loading Python 2 generated pickled files on Python 3,<br/> which includes npy/npz files containing object arrays. If `fix_imports`<br/> is True, pickle will try to map the old Python 2 names to the new names<br/> used in Python 3.<br/> encoding : str, optional<br/> What encoding to use when reading Python 2 strings. Only useful when<br/> loading Python 2 generated pickled files on Python 3, which includes<br/> npy/npz files containing object arrays. Values other than 'latin1',<br/> 'ASCII', and 'bytes' are not allowed, as they can corrupt numerical<br/> data. Default: 'ASCII'<br/> <br/> Returns<br/> -------<br/> result : array, tuple, dict, etc.<br/> Data stored in the file. For ``.npz`` files, the returned instance<br/> of NpzFile class must be closed to avoid leaking file descriptors.<br/> <br/> Raises<br/> ------<br/> IOError<br/> If the input file does not exist or cannot be read.<br/> ValueError<br/> The file contains an object array, but allow_pickle=False given.<br/> <br/> See Also<br/> --------<br/> save, savez, savez_compressed, loadtxt<br/> memmap : Create a memory-map to an array stored in a file on disk.<br/> <br/> Notes<br/> -----<br/> - If the file contains pickle data, then whatever object is stored<br/> in the pickle is returned.<br/> - If the file is a ``.npy`` file, then a single array is returned.<br/> - If the file is a ``.npz`` file, then a dictionary-like object is<br/> returned, containing ``{filename: array}`` key-value pairs, one for<br/> each file in the archive.<br/> - If the file is a ``.npz`` file, the returned value supports the<br/> context manager protocol in a similar fashion to the open function::<br/> <br/> with load('foo.npz') as data:<br/> a = data['a']<br/> <br/> The underlying file descriptor is closed when exiting the 'with'<br/> block.<br/> <br/> Examples<br/> --------<br/> Store data to disk, and load it again:<br/> <br/> >>> np.save('/tmp/123', np.array([[1, 2, 3], [4, 5, 6]]))<br/> >>> np.load('/tmp/123.npy')<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> <br/> Store compressed data to disk, and load it again:<br/> <br/> >>> a=np.array([[1, 2, 3], [4, 5, 6]])<br/> >>> b=np.array([1, 2])<br/> >>> np.savez('/tmp/123.npz', a=a, b=b)<br/> >>> data = np.load('/tmp/123.npz')<br/> >>> data['a']<br/> array([[1, 2, 3],<br/> [4, 5, 6]])<br/> >>> data['b']<br/> array([1, 2])<br/> >>> data.close()<br/> <br/> Mem-map the stored array, and then access the second row<br/> directly from disk:<br/> <br/> >>> X = np.load('/tmp/123.npy', mmap_mode='r')<br/> >>> X[1, :]<br/> memmap([4, 5, 6])<br/> <br/> """<br/> import gzip<br/> <br/> own_fid = False<br/> if isinstance(file, basestring):<br/>> fid = open(file, "rb")<br/><span class="error">E IOError: [Errno 2] No such file or directory: '/home/darth_sidious/Documents/TARDIS/slow/w7/quantities2.npz'</span><br/><br/>/home/darth_sidious/anaconda2/envs/tardis/lib/python2.7/site-packages/numpy/lib/npyio.py:362: IOError<br/></div></td></tr></tbody></table></body></html> | + | <div> |
+ | <div class="image" style="float: left"> | ||
+ | <a href="#"> | ||
+ | <img src= "http://opensupernova.org/~karandesai96/integration/lib/exe/fetch.php?media=plots:74fa0e8_t_rads.png" /> | ||
+ | </a> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="log" style="clear: both">self = <tardis.tests.tests_slow.test_w7.TestW7 object at 0x7f22ad513810><br/>plot_object = <tardis.tests.tests_slow.plot_helpers.PlotUploader object at 0x7f22ad513890><br/><br/> def test_shell_temperature(self, plot_object):<br/> plot_object.add(self.plot_t_rads(), "t_rads")<br/> <br/> assert_quantity_allclose(<br/> self.reference['t_rads'],<br/>> self.result.t_rads)<br/><br/>tardis/tests/tests_slow/test_w7.py:171: <br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/>/home/darth_sidious/anaconda2/envs/tardis/lib/python2.7/site-packages/astropy/tests/helper.py:632: in assert_quantity_allclose<br/> **kwargs)<br/>/home/darth_sidious/anaconda2/envs/tardis/lib/python2.7/site-packages/numpy/testing/utils.py:1347: in assert_allclose<br/> verbose=verbose, header=header)<br/>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br/><br/>comparison = <function compare at 0x7f22ad1e0410><br/>x = array([ 10936.03215232, 9788.11770588, 8946.48415051, 8825.42125351,<br/> ...11, 6419.6473306 ,<br/> 6243.73184199, 6175.04411592, 6130.64885705])<br/>y = array([ 10936.03215232, 9883.11770588, 9136.48415051, 9110.42125351,<br/> ...11, 8604.6473306 ,<br/> 8523.73184199, 8550.04411592, 8600.64885705])<br/>err_msg = '', verbose = True, header = 'Not equal to tolerance rtol=1e-07, atol=0', precision = 6<br/><br/> def assert_array_compare(comparison, x, y, err_msg='', verbose=True,<br/> header='', precision=6):<br/> from numpy.core import array, isnan, isinf, any, all, inf<br/> x = array(x, copy=False, subok=True)<br/> y = array(y, copy=False, subok=True)<br/> <br/> def safe_comparison(*args, **kwargs):<br/> # There are a number of cases where comparing two arrays hits special<br/> # cases in array_richcompare, specifically around strings and void<br/> # dtypes. Basically, we just can't do comparisons involving these<br/> # types, unless both arrays have exactly the *same* type. So<br/> # e.g. you can apply == to two string arrays, or two arrays with<br/> # identical structured dtypes. But if you compare a non-string array<br/> # to a string array, or two arrays with non-identical structured<br/> # dtypes, or anything like that, then internally stuff blows up.<br/> # Currently, when things blow up, we just return a scalar False or<br/> # True. But we also emit a DeprecationWarning, b/c eventually we<br/> # should raise an error here. (Ideally we might even make this work<br/> # properly, but since that will require rewriting a bunch of how<br/> # ufuncs work then we are not counting on that.)<br/> #<br/> # The point of this little function is to let the DeprecationWarning<br/> # pass (or maybe eventually catch the errors and return False, I<br/> # dunno, that's a little trickier and we can figure that out when the<br/> # time comes).<br/> with warnings.catch_warnings():<br/> warnings.filterwarnings("ignore", category=DeprecationWarning)<br/> return comparison(*args, **kwargs)<br/> <br/> def isnumber(x):<br/> return x.dtype.char in '?bhilqpBHILQPefdgFDG'<br/> <br/> def chk_same_position(x_id, y_id, hasval='nan'):<br/> """Handling nan/inf: check that x and y have the nan/inf at the same<br/> locations."""<br/> try:<br/> assert_array_equal(x_id, y_id)<br/> except AssertionError:<br/> msg = build_err_msg([x, y],<br/> err_msg + '\nx and y %s location mismatch:'<br/> % (hasval), verbose=verbose, header=header,<br/> names=('x', 'y'), precision=precision)<br/> raise AssertionError(msg)<br/> <br/> try:<br/> cond = (x.shape == () or y.shape == ()) or x.shape == y.shape<br/> if not cond:<br/> msg = build_err_msg([x, y],<br/> err_msg<br/> + '\n(shapes %s, %s mismatch)' % (x.shape,<br/> y.shape),<br/> verbose=verbose, header=header,<br/> names=('x', 'y'), precision=precision)<br/> if not cond:<br/> raise AssertionError(msg)<br/> <br/> if isnumber(x) and isnumber(y):<br/> x_isnan, y_isnan = isnan(x), isnan(y)<br/> x_isinf, y_isinf = isinf(x), isinf(y)<br/> <br/> # Validate that the special values are in the same place<br/> if any(x_isnan) or any(y_isnan):<br/> chk_same_position(x_isnan, y_isnan, hasval='nan')<br/> if any(x_isinf) or any(y_isinf):<br/> # Check +inf and -inf separately, since they are different<br/> chk_same_position(x == +inf, y == +inf, hasval='+inf')<br/> chk_same_position(x == -inf, y == -inf, hasval='-inf')<br/> <br/> # Combine all the special values<br/> x_id, y_id = x_isnan, y_isnan<br/> x_id |= x_isinf<br/> y_id |= y_isinf<br/> <br/> # Only do the comparison if actual values are left<br/> if all(x_id):<br/> return<br/> <br/> if any(x_id):<br/> val = safe_comparison(x[~x_id], y[~y_id])<br/> else:<br/> val = safe_comparison(x, y)<br/> else:<br/> val = safe_comparison(x, y)<br/> <br/> if isinstance(val, bool):<br/> cond = val<br/> reduced = [0]<br/> else:<br/> reduced = val.ravel()<br/> cond = reduced.all()<br/> reduced = reduced.tolist()<br/> if not cond:<br/> match = 100-100.0*reduced.count(1)/len(reduced)<br/> msg = build_err_msg([x, y],<br/> err_msg<br/> + '\n(mismatch %s%%)' % (match,),<br/> verbose=verbose, header=header,<br/> names=('x', 'y'), precision=precision)<br/> if not cond:<br/>> raise AssertionError(msg)<br/><span class="error">E AssertionError: </span><br/><span class="error">E Not equal to tolerance rtol=1e-07, atol=0</span><br/><span class="error">E </span><br/><span class="error">E (mismatch 96.2962962963%)</span><br/><span class="error">E x: array([ 10936.032152, 9788.117706, 8946.484151, 8825.421254,</span><br/><span class="error">E 8494.998072, 8397.837712, 8203.655887, 8347.992354,</span><br/><span class="error">E 8141.21192 , 7953.031243, 7707.324676, 7634.898159,...</span><br/><span class="error">E y: array([ 10936.032152, 9883.117706, 9136.484151, 9110.421254,</span><br/><span class="error">E 8874.998072, 8872.837712, 8773.655887, 9012.992354,</span><br/><span class="error">E 8901.21192 , 8808.031243, 8657.324676, 8679.898159,...</span><br/><br/>/home/darth_sidious/anaconda2/envs/tardis/lib/python2.7/site-packages/numpy/testing/utils.py:708: AssertionError<br/></div></td></tr></tbody></table></body></html> |