Skip to content

Instantly share code, notes, and snippets.

@mr-c
Last active December 16, 2021 11:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mr-c/80454ac454c1d69d57a093ff0e8bd53e to your computer and use it in GitHub Desktop.
Save mr-c/80454ac454c1d69d57a093ff0e8bd53e to your computer and use it in GitHub Desktop.
platform linux -- Python 3.10.1, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
rootdir: /tmp/autopkgtest.Cs1xvo/build.d0R/src, configfile: pytest.ini, testpaths: mypy/test, mypyc/test
plugins: xdist-2.4.0, cov-3.0.0, forked-1.3.0
[snip]
____________________________________________________________ testUpdateClassReferenceAcrossBlockingError_cached _____________________________________________________________
[gw0] linux -- Python 3.10.1 /usr/bin/python3.10
data: /tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test:140:
/usr/lib/python3/dist-packages/pluggy/hooks.py:286: in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3/dist-packages/pluggy/manager.py:92: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3/dist-packages/pluggy/manager.py:83: in <lambda>
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/usr/lib/python3/dist-packages/_pytest/runner.py:170: in pytest_runtest_call
raise e
/usr/lib/python3/dist-packages/_pytest/runner.py:162: in pytest_runtest_call
item.runtest()
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/data.py:253: in runtest
suite.run_case(self)
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testfinegrained.py:130: in run_case
assert_string_arrays_equal(
E AssertionError: Invalid output (/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test, line 140)
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
Expected:
==
a.py:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
main:5: error: Missing positional argument "x" in call to "f" of "C"
Actual:
==
a.py:1: error: invalid syntax (diff)
==
main:5: error: Missing positional argument "x" in call to "f" of "C"
Alignment of first line difference:
E: a.py:1: error: invalid syntax. Perhaps you forgot a comma?
A: a.py:1: error: invalid syntax
^
__________________________________________________________________ testBlockingErrorRemainsUnfixed_cached ___________________________________________________________________
[gw0] linux -- Python 3.10.1 /usr/bin/python3.10
data: /tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test:241:
/usr/lib/python3/dist-packages/pluggy/hooks.py:286: in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3/dist-packages/pluggy/manager.py:92: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3/dist-packages/pluggy/manager.py:83: in <lambda>
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/usr/lib/python3/dist-packages/_pytest/runner.py:170: in pytest_runtest_call
raise e
/usr/lib/python3/dist-packages/_pytest/runner.py:162: in pytest_runtest_call
item.runtest()
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/data.py:253: in runtest
suite.run_case(self)
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testfinegrained.py:130: in run_case
assert_string_arrays_equal(
E AssertionError: Invalid output (/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test, line 241)
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
Expected:
==
a.py:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
a.py:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
a.py:2: error: Missing positional argument "x" in call to "f"
Actual:
==
a.py:1: error: invalid syntax (diff)
==
a.py:1: error: invalid syntax (diff)
==
a.py:2: error: Missing positional argument "x" in call to "f"
Alignment of first line difference:
E: a.py:1: error: invalid syntax. Perhaps you forgot a comma?
A: a.py:1: error: invalid syntax
^
__________________________________________________________________ testDeleteFileWithBlockingError_cached ___________________________________________________________________
[gw0] linux -- Python 3.10.1 /usr/bin/python3.10
data: /tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test:341:
/usr/lib/python3/dist-packages/pluggy/hooks.py:286: in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3/dist-packages/pluggy/manager.py:92: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3/dist-packages/pluggy/manager.py:83: in <lambda>
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/usr/lib/python3/dist-packages/_pytest/runner.py:170: in pytest_runtest_call
raise e
/usr/lib/python3/dist-packages/_pytest/runner.py:162: in pytest_runtest_call
item.runtest()
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/data.py:253: in runtest
suite.run_case(self)
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testfinegrained.py:130: in run_case
assert_string_arrays_equal(
E AssertionError: Invalid output (/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test, line 341)
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
Expected:
==
a.py:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
b.py:1: error: Cannot find implementation or library stub for module named ...
b.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#m...
main:1: error: Cannot find implementation or library stub for module named ...
Actual:
==
a.py:1: error: invalid syntax (diff)
==
b.py:1: error: Cannot find implementation or library stub for module named ...
b.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#m...
main:1: error: Cannot find implementation or library stub for module named ...
Alignment of first line difference:
E: a.py:1: error: invalid syntax. Perhaps you forgot a comma?
A: a.py:1: error: invalid syntax
^
_____________________________________________________________ testModifyFileWhileBlockingErrorElsewhere_cached ______________________________________________________________
[gw0] linux -- Python 3.10.1 /usr/bin/python3.10
data: /tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test:369:
/usr/lib/python3/dist-packages/pluggy/hooks.py:286: in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3/dist-packages/pluggy/manager.py:92: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3/dist-packages/pluggy/manager.py:83: in <lambda>
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/usr/lib/python3/dist-packages/_pytest/runner.py:170: in pytest_runtest_call
raise e
/usr/lib/python3/dist-packages/_pytest/runner.py:162: in pytest_runtest_call
item.runtest()
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/data.py:253: in runtest
suite.run_case(self)
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testfinegrained.py:130: in run_case
assert_string_arrays_equal(
E AssertionError: Invalid output (/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test, line 369)
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
Expected:
==
a.py:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
a.py:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
b.py:2: error: Module has no attribute "f"
b.py:3: error: "int" not callable
Actual:
==
a.py:1: error: invalid syntax (diff)
==
a.py:1: error: invalid syntax (diff)
==
b.py:2: error: Module has no attribute "f"
b.py:3: error: "int" not callable
Alignment of first line difference:
E: a.py:1: error: invalid syntax. Perhaps you forgot a comma?
A: a.py:1: error: invalid syntax
^
___________________________________________________________ testImportBringsAnotherFileWithBlockingError1_cached ____________________________________________________________
[gw0] linux -- Python 3.10.1 /usr/bin/python3.10
data: /tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test:400:
/usr/lib/python3/dist-packages/pluggy/hooks.py:286: in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3/dist-packages/pluggy/manager.py:92: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3/dist-packages/pluggy/manager.py:83: in <lambda>
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/usr/lib/python3/dist-packages/_pytest/runner.py:170: in pytest_runtest_call
raise e
/usr/lib/python3/dist-packages/_pytest/runner.py:162: in pytest_runtest_call
item.runtest()
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/data.py:253: in runtest
suite.run_case(self)
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testfinegrained.py:130: in run_case
assert_string_arrays_equal(
E AssertionError: Invalid output (/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test, line 400)
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
Expected:
==
/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/lib-stub/blocker.pyi:2: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
a.py:1: error: "int" not callable
Actual:
==
/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/lib-stub/blocker.pyi:2: error: invalid syntax (diff)
==
a.py:1: error: "int" not callable
Alignment of first line difference:
E: ...pyi:2: error: invalid syntax. Perhaps you forgot a comma?
A: ...pyi:2: error: invalid syntax
^
______________________________________________________ testFixingBlockingErrorBringsInAnotherModuleWithBlocker_cached _______________________________________________________
[gw0] linux -- Python 3.10.1 /usr/bin/python3.10
data: /tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test:474:
/usr/lib/python3/dist-packages/pluggy/hooks.py:286: in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3/dist-packages/pluggy/manager.py:92: in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3/dist-packages/pluggy/manager.py:83: in <lambda>
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/usr/lib/python3/dist-packages/_pytest/runner.py:170: in pytest_runtest_call
raise e
/usr/lib/python3/dist-packages/_pytest/runner.py:162: in pytest_runtest_call
item.runtest()
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/data.py:253: in runtest
suite.run_case(self)
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testfinegrained.py:130: in run_case
assert_string_arrays_equal(
E AssertionError: Invalid output (/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test, line 474)
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
Expected:
==
a.py:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/lib-stub/blocker.pyi:2: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
a.py:2: error: "int" not callable
Actual:
==
a.py:1: error: invalid syntax (diff)
==
/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/lib-stub/blocker.pyi:2: error: invalid syntax (diff)
==
a.py:2: error: "int" not callable
Alignment of first line difference:
E: a.py:1: error: invalid syntax. Perhaps you forgot a comma?
A: a.py:1: error: invalid syntax
^
_____________________________________________________________________________ testNotAsBinaryOp _____________________________________________________________________________
[gw2] linux -- Python 3.10.1 /usr/bin/python3.10
data: /tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/parse.test:934:
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testparse.py:22: in run_case
test_parser(testcase)
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testparse.py:46: in test_parser
assert_string_arrays_equal(testcase.output, a,
E AssertionError: Invalid parser output (/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/parse.test, line 934)
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
Expected:
main:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
Actual:
main:1: error: invalid syntax (diff)
Alignment of first line difference:
E: main:1: error: invalid syntax. Perhaps you forgot a comma?
A: main:1: error: invalid syntax
^
__________________________________________________________________________ testBinaryNegAsBinaryOp __________________________________________________________________________
[gw2] linux -- Python 3.10.1 /usr/bin/python3.10
data: /tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/parse.test:945:
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testparse.py:22: in run_case
test_parser(testcase)
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testparse.py:46: in test_parser
assert_string_arrays_equal(testcase.output, a,
E AssertionError: Invalid parser output (/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/parse.test, line 945)
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
Expected:
main:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
Actual:
main:1: error: invalid syntax (diff)
Alignment of first line difference:
E: main:1: error: invalid syntax. Perhaps you forgot a comma?
A: main:1: error: invalid syntax
^
________________________________________________________________ testUpdateClassReferenceAcrossBlockingError ________________________________________________________________
[gw1] linux -- Python 3.10.1 /usr/bin/python3.10
data: /tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test:140:
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testfinegrained.py:130: in run_case
assert_string_arrays_equal(
E AssertionError: Invalid output (/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test, line 140)
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
Expected:
==
a.py:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
main:5: error: Missing positional argument "x" in call to "f" of "C"
Actual:
==
a.py:1: error: invalid syntax (diff)
==
main:5: error: Missing positional argument "x" in call to "f" of "C"
Alignment of first line difference:
E: a.py:1: error: invalid syntax. Perhaps you forgot a comma?
A: a.py:1: error: invalid syntax
^
_______________________________________________________________________ testAddFileWithBlockingError ________________________________________________________________________
[gw1] linux -- Python 3.10.1 /usr/bin/python3.10
data: /tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test:165:
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testfinegrained.py:130: in run_case
assert_string_arrays_equal(
E AssertionError: Invalid output (/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test, line 165)
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
Expected:
main:1: error: Cannot find implementation or library stub for module named ...
main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#m...
==
a.py:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
main:2: error: Too many arguments for "f"
Actual:
main:1: error: Cannot find implementation or library stub for module named ...
main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#m...
==
a.py:1: error: invalid syntax (diff)
==
main:2: error: Too many arguments for "f"
Alignment of first line difference:
E: a.py:1: error: invalid syntax. Perhaps you forgot a comma?
A: a.py:1: error: invalid syntax
^
______________________________________________________________________ testBlockingErrorRemainsUnfixed ______________________________________________________________________
[gw1] linux -- Python 3.10.1 /usr/bin/python3.10
data: /tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test:241:
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testfinegrained.py:130: in run_case
assert_string_arrays_equal(
E AssertionError: Invalid output (/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test, line 241)
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
Expected:
==
a.py:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
a.py:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
a.py:2: error: Missing positional argument "x" in call to "f"
Actual:
==
a.py:1: error: invalid syntax (diff)
==
a.py:1: error: invalid syntax (diff)
==
a.py:2: error: Missing positional argument "x" in call to "f"
Alignment of first line difference:
E: a.py:1: error: invalid syntax. Perhaps you forgot a comma?
A: a.py:1: error: invalid syntax
^
______________________________________________________________________ testDeleteFileWithBlockingError ______________________________________________________________________
[gw1] linux -- Python 3.10.1 /usr/bin/python3.10
data: /tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test:313:
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testfinegrained.py:130: in run_case
assert_string_arrays_equal(
E AssertionError: Invalid output (/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test, line 313)
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
Expected:
==
a.py:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
main:1: error: Cannot find implementation or library stub for module named ...
main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#m...
b.py:1: error: Cannot find implementation or library stub for module named ...
Actual:
==
a.py:1: error: invalid syntax (diff)
==
main:1: error: Cannot find implementation or library stub for module named ...
main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#m...
b.py:1: error: Cannot find implementation or library stub for module named ...
Alignment of first line difference:
E: a.py:1: error: invalid syntax. Perhaps you forgot a comma?
A: a.py:1: error: invalid syntax
^
_________________________________________________________________ testModifyFileWhileBlockingErrorElsewhere _________________________________________________________________
[gw1] linux -- Python 3.10.1 /usr/bin/python3.10
data: /tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test:369:
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testfinegrained.py:130: in run_case
assert_string_arrays_equal(
E AssertionError: Invalid output (/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test, line 369)
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
Expected:
==
a.py:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
a.py:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
b.py:2: error: Module has no attribute "f"
b.py:3: error: "int" not callable
Actual:
==
a.py:1: error: invalid syntax (diff)
==
a.py:1: error: invalid syntax (diff)
==
b.py:2: error: Module has no attribute "f"
b.py:3: error: "int" not callable
Alignment of first line difference:
E: a.py:1: error: invalid syntax. Perhaps you forgot a comma?
A: a.py:1: error: invalid syntax
^
_______________________________________________________________ testImportBringsAnotherFileWithBlockingError1 _______________________________________________________________
[gw1] linux -- Python 3.10.1 /usr/bin/python3.10
data: /tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test:400:
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testfinegrained.py:130: in run_case
assert_string_arrays_equal(
E AssertionError: Invalid output (/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test, line 400)
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
Expected:
==
/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/lib-stub/blocker.pyi:2: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
a.py:1: error: "int" not callable
Actual:
==
/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/lib-stub/blocker.pyi:2: error: invalid syntax (diff)
==
a.py:1: error: "int" not callable
Alignment of first line difference:
E: ...pyi:2: error: invalid syntax. Perhaps you forgot a comma?
A: ...pyi:2: error: invalid syntax
^
__________________________________________________________ testFixingBlockingErrorBringsInAnotherModuleWithBlocker __________________________________________________________
[gw1] linux -- Python 3.10.1 /usr/bin/python3.10
data: /tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test:474:
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testfinegrained.py:130: in run_case
assert_string_arrays_equal(
E AssertionError: Invalid output (/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test, line 474)
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
Expected:
==
a.py:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/lib-stub/blocker.pyi:2: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
a.py:2: error: "int" not callable
Actual:
==
a.py:1: error: invalid syntax (diff)
==
/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/lib-stub/blocker.pyi:2: error: invalid syntax (diff)
==
a.py:2: error: "int" not callable
Alignment of first line difference:
E: a.py:1: error: invalid syntax. Perhaps you forgot a comma?
A: a.py:1: error: invalid syntax
^
____________________________________________________________________________ testInitialBlocker _____________________________________________________________________________
[gw1] linux -- Python 3.10.1 /usr/bin/python3.10
data: /tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test:501:
../autopkgtest.Cs1xvo/build.d0R/src/mypy/test/testfinegrained.py:130: in run_case
assert_string_arrays_equal(
E AssertionError: Invalid output (/tmp/autopkgtest.Cs1xvo/build.d0R/src/test-data/unit/fine-grained-blockers.test, line 501)
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
Expected:
a.py:1: error: invalid syntax. Perhaps you forgot a comma? (diff)
==
b.py:2: error: Incompatible return value type (got "str", expected "int")
==
Actual:
a.py:1: error: invalid syntax (diff)
==
b.py:2: error: Incompatible return value type (got "str", expected "int")
==
Alignment of first line difference:
E: a.py:1: error: invalid syntax. Perhaps you forgot a comma?
A: a.py:1: error: invalid syntax
^
______________________________________________________________________________ testErrorOutput ______________________________________________________________________________
[gw1] linux -- Python 3.10.1 /usr/bin/python3.10
data: /tmp/autopkgtest.Cs1xvo/build.d0R/src/mypyc/test-data/commandline.test:104:
../autopkgtest.Cs1xvo/build.d0R/src/mypyc/test/test_commandline.py:73: in run_case
assert_test_output(testcase, actual, 'Invalid output', expected=expected)
E AssertionError: Invalid output (/tmp/autopkgtest.Cs1xvo/build.d0R/src/mypyc/test-data/commandline.test, line 104)
--------------------------------------------------------------------------- Captured stderr call ----------------------------------------------------------------------------
Expected:
test.py:7: error: range() step cannot be zero (diff)
test.py:10: error: break inside try/finally block is unimplemented (diff)
test.py:12: error: continue inside try/finally block is unimplemented (diff)
test.py:21: error: Only assignment to variables is supported in class bodies (diff)
...
Actual:
/tmp/mypy-test-mdrfm2bm/tmp/build/setup.py:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives (diff)
from distutils.core import setup (diff)
test.py:7: error: range() step cannot be zero (diff)
test.py:10: error: break inside try/finally block is unimplemented (diff)
test.py:12: error: continue inside try/finally block is unimplemented (diff)
test.py:21: error: Only assignment to variables is supported in class bodies (diff)
...
Alignment of first line difference:
E: test.py:7: error: range() step cannot be zero...
A: /tmp/mypy-test-mdrfm2bm/tmp/build/setup.py:1: DeprecationWarning: The di...
^
============================================================================= warnings summary ==============================================================================
mypyc/build.py:48
mypyc/build.py:48
mypyc/build.py:48
mypyc/build.py:48
/tmp/autopkgtest.Cs1xvo/build.d0R/src/mypyc/build.py:48: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils import sysconfig, ccompiler
mypyc/build.py:48
mypyc/build.py:48
mypyc/build.py:48
mypyc/build.py:48
/tmp/autopkgtest.Cs1xvo/build.d0R/src/mypyc/build.py:48: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
from distutils import sysconfig, ccompiler
-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================================================== short test summary info ==========================================================================
FAILED mypy/test/testfinegrainedcache.py::FineGrainedCacheSuite::testUpdateClassReferenceAcrossBlockingError_cached
FAILED mypy/test/testfinegrainedcache.py::FineGrainedCacheSuite::testBlockingErrorRemainsUnfixed_cached
FAILED mypy/test/testfinegrainedcache.py::FineGrainedCacheSuite::testDeleteFileWithBlockingError_cached
FAILED mypy/test/testfinegrainedcache.py::FineGrainedCacheSuite::testModifyFileWhileBlockingErrorElsewhere_cached
FAILED mypy/test/testfinegrainedcache.py::FineGrainedCacheSuite::testImportBringsAnotherFileWithBlockingError1_cached
FAILED mypy/test/testfinegrainedcache.py::FineGrainedCacheSuite::testFixingBlockingErrorBringsInAnotherModuleWithBlocker_cached
FAILED mypy/test/testparse.py::ParserSuite::testNotAsBinaryOp
FAILED mypy/test/testparse.py::ParserSuite::testBinaryNegAsBinaryOp
FAILED mypy/test/testfinegrained.py::FineGrainedSuite::testUpdateClassReferenceAcrossBlockingError
FAILED mypy/test/testfinegrained.py::FineGrainedSuite::testAddFileWithBlockingError
FAILED mypy/test/testfinegrained.py::FineGrainedSuite::testBlockingErrorRemainsUnfixed
FAILED mypy/test/testfinegrained.py::FineGrainedSuite::testDeleteFileWithBlockingError
FAILED mypy/test/testfinegrained.py::FineGrainedSuite::testModifyFileWhileBlockingErrorElsewhere
FAILED mypy/test/testfinegrained.py::FineGrainedSuite::testImportBringsAnotherFileWithBlockingError1
FAILED mypy/test/testfinegrained.py::FineGrainedSuite::testFixingBlockingErrorBringsInAnotherModuleWithBlocker
FAILED mypy/test/testfinegrained.py::FineGrainedSuite::testInitialBlocker
FAILED mypyc/test/test_commandline.py::TestCommandLine::testErrorOutput
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment