[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Test failures with Python 3

From: Marius Bakke <mbakke_at_fastmail.com>
Date: Sat, 09 Mar 2019 16:00:04 +0100

Hello!

I'm trying to update to Subversion 1.11, but get two test failures
(both new in 1.11).

--8<---------------cut here---------------start------------->8---
W: CWD: /tmp/guix-build-subversion-1.11.1.drv-0/subversion-1.11.1/subversion/tests/cmdline
Traceback (most recent call last):
  File "/tmp/guix-build-subversion-1.11.1.drv-0/subversion-1.11.1/subversion/tests/cmdline/svntest/main.py", line 1894, in run
    rc = self.pred.run(sandbox)
  File "/tmp/guix-build-subversion-1.11.1.drv-0/subversion-1.11.1/subversion/tests/cmdline/svntest/testcase.py", line 178, in run
    result = self.func(sandbox)
  File "/tmp/guix-build-subversion-1.11.1.drv-0/subversion-1.11.1/subversion/tests/cmdline/svnadmin_tests.py", line 3861, in dump_no_canonicalize_svndate
    assert propval + '\n' in dump_lines
AssertionError
FAIL: svnadmin_tests.py 69: svnadmin dump shouldn't canonicalize svn:date
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
W: A1/B/lambda has unexpectected contents
W: EXPECTED svn-test-work/working_copies/tree_conflict_tests-26/A1/B/lambda (match_all=True):
W: | This is the file 'lambda'.
W: | This is more content.
W: ACTUAL svn-test-work/working_copies/tree_conflict_tests-26/A1/B/lambda:
W: CWD: /tmp/guix-build-subversion-1.11.1.drv-0/subversion-1.11.1/subversion/tests/cmdline
Traceback (most recent call last):
  File "/tmp/guix-build-subversion-1.11.1.drv-0/subversion-1.11.1/subversion/tests/cmdline/svntest/main.py", line 1894, in run
    rc = self.pred.run(sandbox)
  File "/tmp/guix-build-subversion-1.11.1.drv-0/subversion-1.11.1/subversion/tests/cmdline/svntest/testcase.py", line 178, in run
    result = self.func(sandbox)
  File "/tmp/guix-build-subversion-1.11.1.drv-0/subversion-1.11.1/subversion/tests/cmdline/tree_conflict_tests.py", line 1547, in local_missing_dir_endless_loop
    [ "This is the file 'lambda'.\n", "This is more content.\n"], contents)
  File "/tmp/guix-build-subversion-1.11.1.drv-0/subversion-1.11.1/subversion/tests/cmdline/svntest/verify.py", line 503, in compare_and_display_lines
    expected.display_differences(message, label, actual)
  File "/tmp/guix-build-subversion-1.11.1.drv-0/subversion-1.11.1/subversion/tests/cmdline/svntest/verify.py", line 154, in display_differences
    display_lines(message, self.expected, actual, e_label, label)
  File "/tmp/guix-build-subversion-1.11.1.drv-0/subversion-1.11.1/subversion/tests/cmdline/svntest/verify.py", line 478, in display_lines
    logger.warn('| ' + x.rstrip())
TypeError: can only concatenate str (not "bytes") to str
FAIL: tree_conflict_tests.py 26: endless loop when resolving local-missing dir
END: tree_conflict_tests.py
ELAPSED: tree_conflict_tests.py 0:01:17.563191
--8<---------------cut here---------------end--------------->8---

They pass if I use Python 2 instead of Python 3. Is it safe to ignore
these failures?

Received on 2019-03-11 11:48:04 CET

This is an archived mail posted to the Subversion Users mailing list.