[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Python
From: |
Andreas Enge |
Subject: |
Re: Python |
Date: |
Sun, 19 Feb 2023 21:31:44 +0100 |
And yet another one: python-testtool
Tests running...
======================================================================
FAIL: testtools.tests.test_testresult.TestNonAsciiResults.test_syntax_error
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/guix-build-python-testtools-2.5.0.drv-0/testtools-2.5.0/testtools/tests/test_testresult.py",
line 2675, in test_syntax_error
self.assertIn(self._as_output(
File
"/tmp/guix-build-python-testtools-2.5.0.drv-0/testtools-2.5.0/testtools/testcase.py",
line 399, in assertIn
self.assertThat(haystack, Contains(needle), message)
File
"/tmp/guix-build-python-testtools-2.5.0.drv-0/testtools-2.5.0/testtools/testcase.py",
line 480, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: ' File "<string>", line 1\n f(a, b
c)\n ^\nSyntaxError: ' not in 'Tests
running...\n======================================================================\nERROR:
test_syntax_error.Test.runTest\n----------------------------------------------------------------------\nTraceback
(most recent call last):\n File
"/tmp/guix-build-python-testtools-2.5.0.drv-0/TestNonAsciiResults3xz34fmg/test_syntax_error.py",
line 6, in runTest\n exec (\'f(a, b c)\')\n File "<string>", line 1\n
f(a, b c)\n ^^^\nSyntaxError: invalid syntax. Perhaps you forgot a
comma?\n\nRan 1 test in 0.001s\nFAILED (failures=1)\n'
======================================================================
FAIL:
testtools.tests.test_testresult.TestNonAsciiResultsWithUnittest.test_syntax_error
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/tmp/guix-build-python-testtools-2.5.0.drv-0/testtools-2.5.0/testtools/tests/test_testresult.py",
line 2675, in test_syntax_error
self.assertIn(self._as_output(
File
"/tmp/guix-build-python-testtools-2.5.0.drv-0/testtools-2.5.0/testtools/testcase.py",
line 399, in assertIn
self.assertThat(haystack, Contains(needle), message)
File
"/tmp/guix-build-python-testtools-2.5.0.drv-0/testtools-2.5.0/testtools/testcase.py",
line 480, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: ' File "<string>", line 1\n f(a, b
c)\n ^\nSyntaxError: ' not in
'E\n======================================================================\nERROR:
runTest
(test_syntax_error.Test)\ntest_syntax_error.Test.runTest\n----------------------------------------------------------------------\ntesttools.testresult.real._StringException:
Traceback (most recent call last):\n File
"/tmp/guix-build-python-testtools-2.5.0.drv-0/TestNonAsciiResultsWithUnittest7v17h5v5/test_syntax_error.py",
line 6, in runTest\n exec (\'f(a, b c)\')\n File "<string>", line 1\n
f(a, b c)\n ^^^\nSyntaxError: invalid syntax. Perhaps you forgot a
comma?\n\n\n----------------------------------------------------------------------\nRan
1 test in 0.000s\n\nFAILED (errors=1)\n'
Ran 2627 tests in 1.178s
FAILED (failures=2)
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("-m" "testtools.run"
"testtools.tests.test_suite") exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 2.2 seconds
command "python" "-m" "testtools.run" "testtools.tests.test_suite" failed with
status 1
builder for
`/gnu/store/gj4g2wcf8gam52rl1ndjrypiya6pa6r0-python-testtools-2.5.0.drv' failed
with exit code 1
build of /gnu/store/gj4g2wcf8gam52rl1ndjrypiya6pa6r0-python-testtools-2.5.0.drv
failed
View build log at
'/var/log/guix/drvs/gj/4g2wcf8gam52rl1ndjrypiya6pa6r0-python-testtools-2.5.0.drv.gz'.
What an entangled mess these languages are that are not C!
Again, this is apparently the latest version of the package.
Andreas
- Re: Ocaml (was: Merging core-updates?), (continued)
Python (was: Merging core-updates?), Andreas Enge, 2023/02/19
Re: Python (was: Merging core-updates?), Andreas Enge, 2023/02/19
Re: Python,
Andreas Enge <=
Re: Python, Andreas Enge, 2023/02/21
Re: Python, Andreas Enge, 2023/02/22
Re: Python, Andreas Enge, 2023/02/23
Re: Python, Andreas Enge, 2023/02/24
Re: Python, Andreas Enge, 2023/02/24
Re: Python, Lars-Dominik Braun, 2023/02/24
Re: Python, Andreas Enge, 2023/02/25
Re: Python, Lars-Dominik Braun, 2023/02/25
Re: Python, Andreas Enge, 2023/02/25
Re: Python, Lars-Dominik Braun, 2023/02/25