Created
December 12, 2022 08:38
-
-
Save GaetanLepage/5d7650a187bc80fa6364e4f396d53fee to your computer and use it in GitHub Desktop.
python310Packages.autopep8 build log
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
$ nix-build . -A python310Packages.autopep8 | |
this derivation will be built: | |
/nix/store/gpzhqycfxir70jl5ln5b95mbjnnnn55g-python3.10-autopep8-2.0.0.drv | |
building '/nix/store/gpzhqycfxir70jl5ln5b95mbjnnnn55g-python3.10-autopep8-2.0.0.drv'... | |
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) | |
Sourcing python-remove-tests-dir-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing python-remove-bin-bytecode-hook.sh | |
Sourcing setuptools-build-hook | |
Using setuptoolsBuildPhase | |
Using setuptoolsShellHook | |
Sourcing pip-install-hook | |
Using pipInstallPhase | |
Sourcing python-imports-check-hook.sh | |
Using pythonImportsCheckPhase | |
Sourcing python-namespaces-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing setuptools-check-hook | |
Using setuptoolsCheckPhase | |
Sourcing pytest-check-hook | |
Using pytestCheckPhase | |
Removing setuptoolsCheckPhase | |
unpacking sources | |
unpacking source archive /nix/store/9iqgh76qa9pr7k2hqca6wh055k1337qz-autopep8-2.0.0.tar.gz | |
source root is autopep8-2.0.0 | |
setting SOURCE_DATE_EPOCH to timestamp 1666991315 of file autopep8-2.0.0/setup.cfg | |
patching sources | |
configuring | |
no configure script, doing nothing | |
building | |
Executing setuptoolsBuildPhase | |
running bdist_wheel | |
running build | |
running build_py | |
creating build | |
creating build/lib | |
copying autopep8.py -> build/lib | |
/nix/store/ig5mg3w2dx743d2dg9d5x0jlk8bkl4bm-python3.10-setuptools-65.3.0/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. | |
warnings.warn( | |
installing to build/bdist.linux-x86_64/wheel | |
running install | |
running install_lib | |
creating build/bdist.linux-x86_64 | |
creating build/bdist.linux-x86_64/wheel | |
copying build/lib/autopep8.py -> build/bdist.linux-x86_64/wheel | |
running install_egg_info | |
running egg_info | |
writing autopep8.egg-info/PKG-INFO | |
writing dependency_links to autopep8.egg-info/dependency_links.txt | |
writing entry points to autopep8.egg-info/entry_points.txt | |
writing requirements to autopep8.egg-info/requires.txt | |
writing top-level names to autopep8.egg-info/top_level.txt | |
reading manifest file 'autopep8.egg-info/SOURCES.txt' | |
reading manifest template 'MANIFEST.in' | |
warning: no files found matching 'test/example' | |
warning: no files found matching 'test/example/x.py' | |
warning: no previously-included files matching '*.py' found under directory 'test/suite' | |
warning: no previously-included files matching '*.py' found under directory 'test/suite/out' | |
warning: no previously-included files found matching '.travis.yml' | |
warning: no previously-included files found matching 'CONTRIBUTING.rst' | |
warning: no previously-included files found matching 'Makefile' | |
warning: no previously-included files found matching 'coveralls.bash' | |
warning: no previously-included files found matching 'hooks' | |
warning: no previously-included files found matching 'hooks/pre-push' | |
warning: no previously-included files found matching 'install_hooks.bash' | |
warning: no previously-included files found matching 'test/.gitignore' | |
warning: no previously-included files found matching 'test/acid.py' | |
warning: no previously-included files found matching 'test/acid_pypi.py' | |
warning: no previously-included files found matching 'test/suite' | |
warning: no previously-included files found matching 'test/suite/out' | |
warning: no previously-included files found matching 'test/vim_autopep8.py' | |
warning: no previously-included files found matching 'update_readme.py' | |
adding license file 'LICENSE' | |
adding license file 'AUTHORS.rst' | |
writing manifest file 'autopep8.egg-info/SOURCES.txt' | |
Copying autopep8.egg-info to build/bdist.linux-x86_64/wheel/autopep8-2.0.0-py3.10.egg-info | |
running install_scripts | |
adding license file "LICENSE" (matched pattern "LICEN[CS]E*") | |
adding license file "AUTHORS.rst" (matched pattern "AUTHORS*") | |
creating build/bdist.linux-x86_64/wheel/autopep8-2.0.0.dist-info/WHEEL | |
creating 'dist/autopep8-2.0.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it | |
adding 'autopep8.py' | |
adding 'autopep8-2.0.0.dist-info/AUTHORS.rst' | |
adding 'autopep8-2.0.0.dist-info/LICENSE' | |
adding 'autopep8-2.0.0.dist-info/METADATA' | |
adding 'autopep8-2.0.0.dist-info/WHEEL' | |
adding 'autopep8-2.0.0.dist-info/entry_points.txt' | |
adding 'autopep8-2.0.0.dist-info/top_level.txt' | |
adding 'autopep8-2.0.0.dist-info/RECORD' | |
removing build/bdist.linux-x86_64/wheel | |
Finished executing setuptoolsBuildPhase | |
installing | |
Executing pipInstallPhase | |
/build/autopep8-2.0.0/dist /build/autopep8-2.0.0 | |
Processing ./autopep8-2.0.0-py2.py3-none-any.whl | |
Requirement already satisfied: pycodestyle>=2.9.1 in /nix/store/x7kmhmwkg0i5zx03ssckj9dix77bh6aq-python3.10-pycodestyle-2.10.0/lib/python3.10/site-packages (from autopep8==2.0.0) (2.10.0) | |
Requirement already satisfied: tomli in /nix/store/kscy6ymg7kgkjz9h12f9h8qjw6ccby5z-python3.10-tomli-2.0.1/lib/python3.10/site-packages (from autopep8==2.0.0) (2.0.1) | |
Installing collected packages: autopep8 | |
Successfully installed autopep8-2.0.0 | |
/build/autopep8-2.0.0 | |
Finished executing pipInstallPhase | |
pythonOutputDistPhase | |
Executing pythonOutputDistPhase | |
Finished executing pythonOutputDistPhase | |
post-installation fixup | |
shrinking RPATHs of ELF executables and libraries in /nix/store/azw8k5m6gjxrnhfnpxchycmkarlpv26f-python3.10-autopep8-2.0.0 | |
strip is /nix/store/k04h29hz6qs45pn0mzaqbyca63lrz2s0-gcc-wrapper-11.3.0/bin/strip | |
stripping (with command strip and flags -S) in /nix/store/azw8k5m6gjxrnhfnpxchycmkarlpv26f-python3.10-autopep8-2.0.0/lib /nix/store/azw8k5m6gjxrnhfnpxchycmkarlpv26f-python3.10-autopep8-2.0.0/bin | |
patching script interpreter paths in /nix/store/azw8k5m6gjxrnhfnpxchycmkarlpv26f-python3.10-autopep8-2.0.0 | |
checking for references to /build/ in /nix/store/azw8k5m6gjxrnhfnpxchycmkarlpv26f-python3.10-autopep8-2.0.0... | |
shrinking RPATHs of ELF executables and libraries in /nix/store/21kwyq7g36ssm977iv2a0r9ws56kl5q1-python3.10-autopep8-2.0.0-dist | |
strip is /nix/store/k04h29hz6qs45pn0mzaqbyca63lrz2s0-gcc-wrapper-11.3.0/bin/strip | |
patching script interpreter paths in /nix/store/21kwyq7g36ssm977iv2a0r9ws56kl5q1-python3.10-autopep8-2.0.0-dist | |
checking for references to /build/ in /nix/store/21kwyq7g36ssm977iv2a0r9ws56kl5q1-python3.10-autopep8-2.0.0-dist... | |
Rewriting #!/nix/store/nzgqxw4d875pgl1lji8n3q82x3bf7ldi-python3-3.10.8/bin/python3.10 to #!/nix/store/nzgqxw4d875pgl1lji8n3q82x3bf7ldi-python3-3.10.8 | |
wrapping `/nix/store/azw8k5m6gjxrnhfnpxchycmkarlpv26f-python3.10-autopep8-2.0.0/bin/autopep8'... | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
running install tests | |
no Makefile or custom installCheckPhase, doing nothing | |
pythonCatchConflictsPhase | |
pythonRemoveBinBytecodePhase | |
pythonImportsCheckPhase | |
Executing pythonImportsCheckPhase | |
pytestCheckPhase | |
Executing pytestCheckPhase | |
============================= test session starts ============================== | |
platform linux -- Python 3.10.8, pytest-7.1.3, pluggy-1.0.0 | |
rootdir: /build/autopep8-2.0.0 | |
collected 599 items / 1 deselected / 598 selected | |
test/test_autopep8.py .................................................. [ 8%] | |
........................................................................ [ 20%] | |
........................................................................ [ 32%] | |
........................................................................ [ 44%] | |
........................................................................ [ 56%] | |
........................................................................ [ 68%] | |
..............FFFFFF.sF.FFFFFFFF...F.FFFF............................... [ 80%] | |
.........................................s.............................. [ 92%] | |
........s................................... [100%] | |
=================================== FAILURES =================================== | |
_____________________ SystemTests.test_w602_arg_is_string ______________________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_arg_is_string> | |
def test_w602_arg_is_string(self): | |
line = "raise ValueError, \"w602 test\"\n" | |
fixed = "raise ValueError(\"w602 test\")\n" | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'raise ValueError("w602 test")\n' != 'raise ValueError, "w602 test"\n' | |
E - raise ValueError("w602 test") | |
E ? ^ - | |
E + raise ValueError, "w602 test" | |
E ? ^^ | |
test/test_autopep8.py:4940: AssertionError | |
_______________ SystemTests.test_w602_arg_is_string_with_comment _______________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_arg_is_string_with_comment> | |
def test_w602_arg_is_string_with_comment(self): | |
line = "raise ValueError, \"w602 test\" # comment\n" | |
fixed = "raise ValueError(\"w602 test\") # comment\n" | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'raise ValueError("w602 test") # comment\n' != 'raise ValueError, "w602 test" # comment\n' | |
E - raise ValueError("w602 test") # comment | |
E ? ^ - | |
E + raise ValueError, "w602 test" # comment | |
E ? ^^ | |
test/test_autopep8.py:4946: AssertionError | |
_______________________ SystemTests.test_w602_escaped_cr _______________________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_escaped_cr> | |
def test_w602_escaped_cr(self): | |
line = 'raise ValueError, \\\r"hello"\n\n' | |
fixed = 'raise ValueError("hello")\n' | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'raise ValueError("hello")\n' != 'raise ValueError, \\\n "hello"\n' | |
E - raise ValueError("hello") | |
E + raise ValueError, \ | |
E + "hello" | |
test/test_autopep8.py:5040: AssertionError | |
______________________ SystemTests.test_w602_escaped_crlf ______________________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_escaped_crlf> | |
def test_w602_escaped_crlf(self): | |
line = 'raise ValueError, \\\r\n"hello"\r\n' | |
fixed = 'raise ValueError("hello")\r\n' | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'raise ValueError("hello")\r\n' != 'raise ValueError, \\\r\n "hello"\r\n' | |
E - raise ValueError("hello") | |
E ? ^^^^^^^^^ | |
E + raise ValueError, \ | |
E ? ^^^ | |
E + "hello" | |
test/test_autopep8.py:5028: AssertionError | |
_______________________ SystemTests.test_w602_escaped_lf _______________________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_escaped_lf> | |
def test_w602_escaped_lf(self): | |
line = 'raise ValueError, \\\n"hello"\n' | |
fixed = 'raise ValueError("hello")\n' | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'raise ValueError("hello")\n' != 'raise ValueError, \\\n "hello"\n' | |
E - raise ValueError("hello") | |
E + raise ValueError, \ | |
E + "hello" | |
test/test_autopep8.py:5022: AssertionError | |
______________________ SystemTests.test_w602_indentation _______________________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_indentation> | |
def test_w602_indentation(self): | |
line = 'def foo():\n raise ValueError, "hello"\n' | |
fixed = 'def foo():\n raise ValueError("hello")\n' | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'def foo():\n raise ValueError("hello")\n' != 'def foo():\n raise ValueError, "hello"\n' | |
E def foo(): | |
E - raise ValueError("hello") | |
E ? ^ - | |
E + raise ValueError, "hello" | |
E ? ^^ | |
test/test_autopep8.py:5034: AssertionError | |
_______________________ SystemTests.test_w602_multiline ________________________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_multiline> | |
def test_w602_multiline(self): | |
line = 'raise ValueError, """\nhello"""\n' | |
fixed = 'raise ValueError("""\nhello""")\n' | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'raise ValueError("""\nhello""")\n' != 'raise ValueError, """\nhello"""\n' | |
E - raise ValueError(""" | |
E ? ^ | |
E + raise ValueError, """ | |
E ? ^^ | |
E - hello""") | |
E ? - | |
E + hello""" | |
test/test_autopep8.py:4969: AssertionError | |
_____________ SystemTests.test_w602_multiline_with_escaped_newline _____________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_multiline_with_escaped_newline> | |
def test_w602_multiline_with_escaped_newline(self): | |
line = 'raise ValueError, \\\n"""\nhello"""\n' | |
fixed = 'raise ValueError("""\nhello""")\n' | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'raise ValueError("""\nhello""")\n' != 'raise ValueError, \\\n """\nhello"""\n' | |
E - raise ValueError(""" | |
E ? ^^^^ | |
E + raise ValueError, \ | |
E ? ^^^ | |
E + """ | |
E - hello""") | |
E ? - | |
E + hello""" | |
test/test_autopep8.py:4987: AssertionError | |
_______ SystemTests.test_w602_multiline_with_escaped_newline_and_comment _______ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_multiline_with_escaped_newline_and_comment> | |
def test_w602_multiline_with_escaped_newline_and_comment(self): | |
line = 'raise ValueError, \\\n"""\nhello""" # comment\n' | |
fixed = 'raise ValueError("""\nhello""") # comment\n' | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'raise ValueError("""\nhello""") # comment\n' != 'raise ValueError, \\\n """\nhello""" # comment\n' | |
E - raise ValueError(""" | |
E ? ^^^^ | |
E + raise ValueError, \ | |
E ? ^^^ | |
E + """ | |
E - hello""") # comment | |
E ? - | |
E + hello""" # comment | |
test/test_autopep8.py:4993: AssertionError | |
________ SystemTests.test_w602_multiline_with_multiple_escaped_newlines ________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_multiline_with_multiple_escaped_newlines> | |
def test_w602_multiline_with_multiple_escaped_newlines(self): | |
line = 'raise ValueError, \\\n\\\n\\\n"""\nhello"""\n' | |
fixed = 'raise ValueError("""\nhello""")\n' | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'raise ValueError("""\nhello""")\n' != 'raise ValueError, \\\n\\\n\\\n """\nhello"""\n' | |
E - raise ValueError(""" | |
E ? ^^^^ | |
E + raise ValueError, \ | |
E ? ^^^ | |
E + \ | |
E + \ | |
E + """ | |
E - hello""") | |
E ? - | |
E + hello""" | |
test/test_autopep8.py:4999: AssertionError | |
______________ SystemTests.test_w602_multiline_with_nested_quotes ______________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_multiline_with_nested_quotes> | |
def test_w602_multiline_with_nested_quotes(self): | |
line = 'raise ValueError, """hello\'\'\'blah"a"b"c"""\n' | |
fixed = 'raise ValueError("""hello\'\'\'blah"a"b"c""")\n' | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'raise ValueError("""hello\'\'\'blah"a"b"c""")\n' != 'raise ValueError, """hello\'\'\'blah"a"b"c"""\n' | |
E - raise ValueError("""hello'''blah"a"b"c""") | |
E ? ^ - | |
E + raise ValueError, """hello'''blah"a"b"c""" | |
E ? ^^ | |
test/test_autopep8.py:5005: AssertionError | |
_____________ SystemTests.test_w602_multiline_with_trailing_spaces _____________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_multiline_with_trailing_spaces> | |
def test_w602_multiline_with_trailing_spaces(self): | |
line = 'raise ValueError, """\nhello""" \n' | |
fixed = 'raise ValueError("""\nhello""")\n' | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'raise ValueError("""\nhello""")\n' != 'raise ValueError, """\nhello"""\n' | |
E - raise ValueError(""" | |
E ? ^ | |
E + raise ValueError, """ | |
E ? ^^ | |
E - hello""") | |
E ? - | |
E + hello""" | |
test/test_autopep8.py:4981: AssertionError | |
__________________ SystemTests.test_w602_multiple_statements ___________________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_multiple_statements> | |
def test_w602_multiple_statements(self): | |
line = 'raise ValueError, "hello";print 1\n' | |
fixed = 'raise ValueError("hello")\nprint 1\n' | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'raise ValueError("hello")\nprint 1\n' != 'raise ValueError, "hello"\nprint 1\n' | |
E - raise ValueError("hello") | |
E ? ^ - | |
E + raise ValueError, "hello" | |
E ? ^^ | |
E print 1 | |
test/test_autopep8.py:5046: AssertionError | |
_______________ SystemTests.test_w602_raise_argument_triple_fake _______________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_raise_argument_triple_fake> | |
def test_w602_raise_argument_triple_fake(self): | |
line = 'raise ValueError, "info, info2"\n' | |
fixed = 'raise ValueError("info, info2")\n' | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'raise ValueError("info, info2")\n' != 'raise ValueError, "info, info2"\n' | |
E - raise ValueError("info, info2") | |
E ? ^ - | |
E + raise ValueError, "info, info2" | |
E ? ^^ | |
test/test_autopep8.py:5068: AssertionError | |
____________ SystemTests.test_w602_raise_argument_with_indentation _____________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_raise_argument_with_indentation> | |
def test_w602_raise_argument_with_indentation(self): | |
line = 'if True:\n raise ValueError, "error"\n' | |
fixed = 'if True:\n raise ValueError("error")\n' | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'if True:\n raise ValueError("error")\n' != 'if True:\n raise ValueError, "error"\n' | |
E if True: | |
E - raise ValueError("error") | |
E ? ^ - | |
E + raise ValueError, "error" | |
E ? ^^ | |
test/test_autopep8.py:5052: AssertionError | |
_____________________ SystemTests.test_w602_triple_quotes ______________________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_triple_quotes> | |
def test_w602_triple_quotes(self): | |
line = 'raise ValueError, """hello"""\n1\n' | |
fixed = 'raise ValueError("""hello""")\n1\n' | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'raise ValueError("""hello""")\n1\n' != 'raise ValueError, """hello"""\n1\n' | |
E - raise ValueError("""hello""") | |
E ? ^ - | |
E + raise ValueError, """hello""" | |
E ? ^^ | |
E 1 | |
test/test_autopep8.py:4963: AssertionError | |
_________________ SystemTests.test_w602_with_complex_multiline _________________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_with_complex_multiline> | |
def test_w602_with_complex_multiline(self): | |
line = 'raise ValueError, """\nhello %s %s""" % (\n 1, 2)\n' | |
fixed = 'raise ValueError("""\nhello %s %s""" % (\n 1, 2))\n' | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'raise ValueError("""\nhello %s %s""" % (\n 1, 2))\n' != 'raise ValueError, """\nhello %s %s""" % (\n 1, 2)\n' | |
E - raise ValueError(""" | |
E ? ^ | |
E + raise ValueError, """ | |
E ? ^^ | |
E hello %s %s""" % ( | |
E - 1, 2)) | |
E ? - | |
E + 1, 2) | |
test/test_autopep8.py:4975: AssertionError | |
________________ SystemTests.test_w602_with_list_comprehension _________________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_with_list_comprehension> | |
def test_w602_with_list_comprehension(self): | |
line = 'raise Error, [x[0] for x in probs]\n' | |
fixed = 'raise Error([x[0] for x in probs])\n' | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: 'raise Error([x[0] for x in probs])\n' != 'raise Error, [x[0] for x in probs]\n' | |
E - raise Error([x[0] for x in probs]) | |
E ? ^ - | |
E + raise Error, [x[0] for x in probs] | |
E ? ^^ | |
test/test_autopep8.py:5074: AssertionError | |
_______________________ SystemTests.test_w602_with_logic _______________________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_with_logic> | |
def test_w602_with_logic(self): | |
line = "raise TypeError, e or 'hello'\n" | |
fixed = "raise TypeError(e or 'hello')\n" | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: "raise TypeError(e or 'hello')\n" != "raise TypeError, e or 'hello'\n" | |
E - raise TypeError(e or 'hello') | |
E ? ^ - | |
E + raise TypeError, e or 'hello' | |
E ? ^^ | |
test/test_autopep8.py:4957: AssertionError | |
___________ SystemTests.test_w602_with_multiline_with_single_quotes ____________ | |
self = <test.test_autopep8.SystemTests testMethod=test_w602_with_multiline_with_single_quotes> | |
def test_w602_with_multiline_with_single_quotes(self): | |
line = "raise ValueError, '''\nhello'''\n" | |
fixed = "raise ValueError('''\nhello''')\n" | |
with autopep8_context(line, options=['--aggressive']) as result: | |
> self.assertEqual(fixed, result) | |
E AssertionError: "raise ValueError('''\nhello''')\n" != "raise ValueError, '''\nhello'''\n" | |
E - raise ValueError(''' | |
E ? ^ | |
E + raise ValueError, ''' | |
E ? ^^ | |
E - hello''') | |
E ? - | |
E + hello''' | |
test/test_autopep8.py:5011: AssertionError | |
=============================== warnings summary =============================== | |
test/test_autopep8.py::UnitTests::test_detect_encoding | |
/build/autopep8-2.0.0/autopep8.py:187: PendingDeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+ | |
from lib2to3.pgen2 import tokenize as lib2to3_tokenize | |
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html | |
=========================== short test summary info ============================ | |
FAILED test/test_autopep8.py::SystemTests::test_w602_arg_is_string - Assertio... | |
FAILED test/test_autopep8.py::SystemTests::test_w602_arg_is_string_with_comment | |
FAILED test/test_autopep8.py::SystemTests::test_w602_escaped_cr - AssertionEr... | |
FAILED test/test_autopep8.py::SystemTests::test_w602_escaped_crlf - Assertion... | |
FAILED test/test_autopep8.py::SystemTests::test_w602_escaped_lf - AssertionEr... | |
FAILED test/test_autopep8.py::SystemTests::test_w602_indentation - AssertionE... | |
FAILED test/test_autopep8.py::SystemTests::test_w602_multiline - AssertionErr... | |
FAILED test/test_autopep8.py::SystemTests::test_w602_multiline_with_escaped_newline | |
FAILED test/test_autopep8.py::SystemTests::test_w602_multiline_with_escaped_newline_and_comment | |
FAILED test/test_autopep8.py::SystemTests::test_w602_multiline_with_multiple_escaped_newlines | |
FAILED test/test_autopep8.py::SystemTests::test_w602_multiline_with_nested_quotes | |
FAILED test/test_autopep8.py::SystemTests::test_w602_multiline_with_trailing_spaces | |
FAILED test/test_autopep8.py::SystemTests::test_w602_multiple_statements - As... | |
FAILED test/test_autopep8.py::SystemTests::test_w602_raise_argument_triple_fake | |
FAILED test/test_autopep8.py::SystemTests::test_w602_raise_argument_with_indentation | |
FAILED test/test_autopep8.py::SystemTests::test_w602_triple_quotes - Assertio... | |
FAILED test/test_autopep8.py::SystemTests::test_w602_with_complex_multiline | |
FAILED test/test_autopep8.py::SystemTests::test_w602_with_list_comprehension | |
FAILED test/test_autopep8.py::SystemTests::test_w602_with_logic - AssertionEr... | |
FAILED test/test_autopep8.py::SystemTests::test_w602_with_multiline_with_single_quotes | |
===== 20 failed, 575 passed, 3 skipped, 1 deselected, 1 warning in 15.70s ====== | |
error: builder for '/nix/store/gpzhqycfxir70jl5ln5b95mbjnnnn55g-python3.10-autopep8-2.0.0.drv' failed with exit code 1; | |
last 10 log lines: | |
> FAILED test/test_autopep8.py::SystemTests::test_w602_multiline_with_trailing_spaces | |
> FAILED test/test_autopep8.py::SystemTests::test_w602_multiple_statements - As... | |
> FAILED test/test_autopep8.py::SystemTests::test_w602_raise_argument_triple_fake | |
> FAILED test/test_autopep8.py::SystemTests::test_w602_raise_argument_with_indentation | |
> FAILED test/test_autopep8.py::SystemTests::test_w602_triple_quotes - Assertio... | |
> FAILED test/test_autopep8.py::SystemTests::test_w602_with_complex_multiline | |
> FAILED test/test_autopep8.py::SystemTests::test_w602_with_list_comprehension | |
> FAILED test/test_autopep8.py::SystemTests::test_w602_with_logic - AssertionEr... | |
> FAILED test/test_autopep8.py::SystemTests::test_w602_with_multiline_with_single_quotes | |
> ===== 20 failed, 575 passed, 3 skipped, 1 deselected, 1 warning in 15.70s ====== | |
For full logs, run 'nix log /nix/store/gpzhqycfxir70jl5ln5b95mbjnnnn55g-python3.10-autopep8-2.0.0.drv'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment