[ https://issues.apache.org/jira/browse/SVN-4811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yasuhito Futatsuki closed SVN-4811. ----------------------------------- > Test failures with Python 3 > --------------------------- > > Key: SVN-4811 > URL: https://issues.apache.org/jira/browse/SVN-4811 > Project: Subversion > Issue Type: Bug > Components: tests > Affects Versions: 1.11.0 > Reporter: Marius > Priority: Minor > Labels: test > Fix For: 1.14.0 > > > Running the test suite with Python 3 causes failures in {{svnadmin_tests.py > 69}} and {{tree_conflict_tests.py 26}} (both new in 1.11): > {noformat} > 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 > {noformat} > {noformat} > 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 > {noformat} > Is it safe to ignore these failures, or should users stick with Python 2 for > now? -- This message was sent by Atlassian Jira (v8.20.10#820010)