Created
July 12, 2018 07:59
-
-
Save joleroi/1f91cd663bdf67e7b4b5926e6844dc3f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
running test | |
running build | |
running build_py | |
copying gammapy/_compiler.c -> build/lib.linux-x86_64-3.6/gammapy | |
running build_ext | |
building 'gammapy._compiler' extension | |
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/kingj/Software/miniconda3/envs/python36/include/python3.6m -c gammapy/_compiler.c -o build/temp.linux-x86_64-3.6/gammapy/_compiler.o | |
gcc -pthread -shared -L/home/kingj/Software/miniconda3/envs/python36/lib -Wl,-rpath=/home/kingj/Software/miniconda3/envs/python36/lib,--no-as-needed build/temp.linux-x86_64-3.6/gammapy/_compiler.o -L/home/kingj/Software/miniconda3/envs/python36/lib -lpython3.6m -o build/lib.linux-x86_64-3.6/gammapy/_compiler.cpython-36m-x86_64-linux-gnu.so | |
skipping 'gammapy/detect/_test_statistics_cython.c' Cython extension (up-to-date) | |
skipping 'gammapy/maps/_sparse.c' Cython extension (up-to-date) | |
Gammapy test data availability: | |
gammapy-extra ... yes | |
Gammapy environment variables: | |
GAMMAPY_EXTRA = /home/kingj/Software/gammapy-extra | |
Setting matplotlib backend to "agg" for the tests. | |
============================= test session starts ============================== | |
platform linux -- Python 3.6.2, pytest-3.2.1, py-1.4.34, pluggy-0.4.0 | |
Running tests with gammapy version 0.8.dev6121. | |
Running tests in gammapy/catalog/tests/test_hess.py. | |
Date: 2018-07-12T09:59:25 | |
Platform: Linux-3.13.0-147-generic-x86_64-with-debian-jessie-sid | |
Executable: /home/kingj/Software/miniconda3/envs/python36/bin/python | |
Full Python Version: | |
3.6.2 |Continuum Analytics, Inc.| (default, Jul 20 2017, 13:51:32) | |
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] | |
encodings: sys: utf-8, locale: UTF-8, filesystem: utf-8 | |
byteorder: little | |
float info: dig: 15, mant_dig: 15 | |
Numpy: 1.13.1 | |
Scipy: 0.19.1 | |
Matplotlib: 2.1.1 | |
h5py: not available | |
Pandas: not available | |
cython: 0.26 | |
skimage: 0.14.0 | |
sklearn: not available | |
uncertainties: 3.0.2 | |
iminuit: 1.2 | |
astropy: 2.0.1 | |
regions: 0.3.dev647 | |
healpy: not available | |
sherpa: 4.10.0 | |
gammapy: 0.8.dev6121 | |
naima: not available | |
reproject: not available | |
photutils: not available | |
aplpy: not available | |
Using Astropy options: remote_data: none. | |
rootdir: /tmp/gammapy-test-b7tfj189, inifile: setup.cfg | |
collected 30 items | |
gammapy/catalog/tests/test_hess.py F | |
=================================== FAILURES =================================== | |
___________________ TestSourceCatalogHGPS.test_source_table ____________________ | |
self = <CallInfo when='call' exception: test_source_table() missing 1 required positional argument: 'cat'> | |
func = <function call_runtest_hook.<locals>.<lambda> at 0x7f28085a1c80> | |
when = 'call' | |
def __init__(self, func, when): | |
#: context of invocation: one of "setup", "call", | |
#: "teardown", "memocollect" | |
self.when = when | |
self.start = time() | |
try: | |
> self.result = func() | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/runner.py:196: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/runner.py:182: in <lambda> | |
return CallInfo(lambda: ihook(item=item, **kwds), when=when) | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:745: in __call__ | |
return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:339: in _hookexec | |
return self._inner_hookexec(hook, methods, kwargs) | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:334: in <lambda> | |
_MultiCall(methods, kwargs, hook.spec_opts).execute() | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:613: in execute | |
return _wrapped_call(hook_impl.function(*args), self.execute) | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:254: in _wrapped_call | |
return call_outcome.get_result() | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:279: in get_result | |
raise ex[1].with_traceback(ex[2]) | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:265: in __init__ | |
self.result = func() | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:614: in execute | |
res = hook_impl.function(*args) | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/runner.py:112: in pytest_runtest_call | |
item.runtest() | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/python.py:1171: in runtest | |
self.ihook.pytest_pyfunc_call(pyfuncitem=self) | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:745: in __call__ | |
return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:339: in _hookexec | |
return self._inner_hookexec(hook, methods, kwargs) | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:334: in <lambda> | |
_MultiCall(methods, kwargs, hook.spec_opts).execute() | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:613: in execute | |
return _wrapped_call(hook_impl.function(*args), self.execute) | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:254: in _wrapped_call | |
return call_outcome.get_result() | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:279: in get_result | |
raise ex[1].with_traceback(ex[2]) | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:265: in __init__ | |
self.result = func() | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py:614: in execute | |
res = hook_impl.function(*args) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
pyfuncitem = <Function 'test_source_table'> | |
@hookimpl(trylast=True) | |
def pytest_pyfunc_call(pyfuncitem): | |
testfunction = pyfuncitem.obj | |
if pyfuncitem._isyieldedfunction(): | |
testfunction(*pyfuncitem._args) | |
else: | |
funcargs = pyfuncitem.funcargs | |
testargs = {} | |
for arg in pyfuncitem._fixtureinfo.argnames: | |
testargs[arg] = funcargs[arg] | |
> testfunction(**testargs) | |
E TypeError: test_source_table() missing 1 required positional argument: 'cat' | |
/home/kingj/Software/miniconda3/envs/python36/lib/python3.6/site-packages/_pytest/python.py:143: TypeError | |
============================= 29 tests deselected ============================== | |
=================== 1 failed, 29 deselected in 0.40 seconds ==================== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment