Created
August 16, 2018 15:32
-
-
Save Michael0x2a/0822390ad828329d80400eb959b5d7d6 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
_________________________ testTypeTypeComparisonWorks _________________________ | |
[gw2] win32 -- Python 3.6.3 c:\python3.6\python.exe | |
data: C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\test-data\unit\check-classes.test:3251: | |
SystemExit: 1 | |
---------------------------- Captured stdout call ----------------------------- | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "<string>", line 8, in <module> | |
File "c:\python3.6\lib\site-packages\execnet\gateway_base.py", line 1534, in serve | |
SlaveGateway(io=io, id=id, _startcount=2).serve() | |
File "c:\python3.6\lib\site-packages\execnet\gateway_base.py", line 1047, in serve | |
self._execpool.integrate_as_primary_thread() | |
File "c:\python3.6\lib\site-packages\execnet\gateway_base.py", line 259, in integrate_as_primary_thread | |
self._perform_spawn(reply) | |
File "c:\python3.6\lib\site-packages\execnet\gateway_base.py", line 277, in _perform_spawn | |
reply.run() | |
File "c:\python3.6\lib\site-packages\execnet\gateway_base.py", line 213, in run | |
self._result = func(*args, **kwargs) | |
File "c:\python3.6\lib\site-packages\execnet\gateway_base.py", line 1072, in executetask | |
do_exec(co, loc) # noqa | |
File "<string>", line 1, in do_exec | |
File "<remote exec>", line 205, in <module> | |
File "c:\python3.6\lib\site-packages\pluggy\__init__.py", line 617, in __call__ | |
return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) | |
File "c:\python3.6\lib\site-packages\pluggy\__init__.py", line 222, in _hookexec | |
return self._inner_hookexec(hook, methods, kwargs) | |
File "c:\python3.6\lib\site-packages\pluggy\__init__.py", line 216, in <lambda> | |
firstresult=hook.spec_opts.get('firstresult'), | |
File "c:\python3.6\lib\site-packages\pluggy\callers.py", line 180, in _multicall | |
res = hook_impl.function(*args) | |
File "c:\python3.6\lib\site-packages\_pytest\main.py", line 138, in pytest_cmdline_main | |
return wrap_session(config, _main) | |
File "c:\python3.6\lib\site-packages\_pytest\main.py", line 107, in wrap_session | |
session.exitstatus = doit(config, session) or 0 | |
File "c:\python3.6\lib\site-packages\_pytest\main.py", line 145, in _main | |
config.hook.pytest_runtestloop(session=session) | |
File "c:\python3.6\lib\site-packages\pluggy\__init__.py", line 617, in __call__ | |
return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) | |
File "c:\python3.6\lib\site-packages\pluggy\__init__.py", line 222, in _hookexec | |
return self._inner_hookexec(hook, methods, kwargs) | |
File "c:\python3.6\lib\site-packages\pluggy\__init__.py", line 216, in <lambda> | |
firstresult=hook.spec_opts.get('firstresult'), | |
File "c:\python3.6\lib\site-packages\pluggy\callers.py", line 180, in _multicall | |
res = hook_impl.function(*args) | |
File "<remote exec>", line 65, in pytest_runtestloop | |
File "<remote exec>", line 84, in run_one_test | |
File "c:\python3.6\lib\site-packages\pluggy\__init__.py", line 617, in __call__ | |
return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) | |
File "c:\python3.6\lib\site-packages\pluggy\__init__.py", line 222, in _hookexec | |
return self._inner_hookexec(hook, methods, kwargs) | |
File "c:\python3.6\lib\site-packages\pluggy\__init__.py", line 216, in <lambda> | |
firstresult=hook.spec_opts.get('firstresult'), | |
File "c:\python3.6\lib\site-packages\pluggy\callers.py", line 180, in _multicall | |
res = hook_impl.function(*args) | |
File "c:\python3.6\lib\site-packages\_pytest\runner.py", line 62, in pytest_runtest_protocol | |
runtestprotocol(item, nextitem=nextitem) | |
File "c:\python3.6\lib\site-packages\_pytest\runner.py", line 79, in runtestprotocol | |
reports.append(call_and_report(item, "call", log)) | |
File "c:\python3.6\lib\site-packages\_pytest\runner.py", line 159, in call_and_report | |
call = call_runtest_hook(item, when, **kwds) | |
File "c:\python3.6\lib\site-packages\_pytest\runner.py", line 179, in call_runtest_hook | |
return CallInfo(lambda: ihook(item=item, **kwds), when=when) | |
File "c:\python3.6\lib\site-packages\_pytest\runner.py", line 193, in __init__ | |
self.result = func() | |
File "c:\python3.6\lib\site-packages\_pytest\runner.py", line 179, in <lambda> | |
return CallInfo(lambda: ihook(item=item, **kwds), when=when) | |
File "c:\python3.6\lib\site-packages\pluggy\__init__.py", line 617, in __call__ | |
return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) | |
File "c:\python3.6\lib\site-packages\pluggy\__init__.py", line 222, in _hookexec | |
return self._inner_hookexec(hook, methods, kwargs) | |
File "c:\python3.6\lib\site-packages\pluggy\__init__.py", line 216, in <lambda> | |
firstresult=hook.spec_opts.get('firstresult'), | |
File "c:\python3.6\lib\site-packages\pluggy\callers.py", line 180, in _multicall | |
res = hook_impl.function(*args) | |
File "c:\python3.6\lib\site-packages\_pytest\runner.py", line 110, in pytest_runtest_call | |
item.runtest() | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\test\data.py", line 253, in runtest | |
suite.run_case(self) | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\test\testcheck.py", line 107, in run_case | |
self.run_case_once(testcase) | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\test\testcheck.py", line 162, in run_case_once | |
alt_lib_path=test_temp_dir) | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\build.py", line 177, in build | |
flush_errors, fscache) | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\build.py", line 350, in _build | |
graph = dispatch(sources, manager) | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\build.py", line 2591, in dispatch | |
process_graph(graph, manager) | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\build.py", line 2888, in process_graph | |
process_stale_scc(graph, scc, manager) | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\build.py", line 3011, in process_stale_scc | |
graph[id].type_check_first_pass() | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\build.py", line 2181, in type_check_first_pass | |
self.type_checker().check_first_pass() | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\checker.py", line 256, in check_first_pass | |
self.accept(d) | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\checker.py", line 355, in accept | |
stmt.accept(self) | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\nodes.py", line 896, in accept | |
return visitor.visit_expression_stmt(self) | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\checker.py", line 2378, in visit_expression_stmt | |
self.expr_checker.accept(s.expr, allow_none_return=True, always_allow_any=True) | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\checkexpr.py", line 2943, in accept | |
typ = node.accept(self) | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\nodes.py", line 1581, in accept | |
return visitor.visit_comparison_expr(self) | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\checkexpr.py", line 1784, in visit_comparison_expr | |
allow_reverse=True) | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\checkexpr.py", line 2058, in check_op | |
context=context) | |
File "C:\Users\Michael\Dropbox\Projects\Code\Programs\mypy\mypy\mypy\checkexpr.py", line 2020, in check_op_reversible | |
assert local_errors.is_errors() | |
AssertionError: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment