Author: svn-role Date: Fri Jan 15 04:00:13 2021 New Revision: 1885507 URL: http://svn.apache.org/viewvc?rev=1885507&view=rev Log: Merge r1885112 from trunk:
* r1885112 swig-py: Fix a typo in tests. Justification: This typo causes DeprecationWarning since Python 3.6 and it will be Syntax error. Votes: +1: futatuki +0: jcorvel Modified: subversion/branches/1.14.x/ (props changed) subversion/branches/1.14.x/STATUS subversion/branches/1.14.x/subversion/bindings/swig/python/tests/core.py Propchange: subversion/branches/1.14.x/ ------------------------------------------------------------------------------ Merged /subversion/trunk:r1885112 Modified: subversion/branches/1.14.x/STATUS URL: http://svn.apache.org/viewvc/subversion/branches/1.14.x/STATUS?rev=1885507&r1=1885506&r2=1885507&view=diff ============================================================================== --- subversion/branches/1.14.x/STATUS (original) +++ subversion/branches/1.14.x/STATUS Fri Jan 15 04:00:13 2021 @@ -60,12 +60,3 @@ Veto-blocked changes: Approved changes: ================= - - * r1885112 - swig-py: Fix a typo in tests. - Justification: - This typo causes DeprecationWarning since Python 3.6 and it will be - Syntax error. - Votes: - +1: futatuki - +0: jcorvel Modified: subversion/branches/1.14.x/subversion/bindings/swig/python/tests/core.py URL: http://svn.apache.org/viewvc/subversion/branches/1.14.x/subversion/bindings/swig/python/tests/core.py?rev=1885507&r1=1885506&r2=1885507&view=diff ============================================================================== --- subversion/branches/1.14.x/subversion/bindings/swig/python/tests/core.py (original) +++ subversion/branches/1.14.x/subversion/bindings/swig/python/tests/core.py Fri Jan 15 04:00:13 2021 @@ -240,7 +240,7 @@ class SubversionCoreTestCase(unittest.Te # of \u0000 ~ \u007f. @unittest.skipUnless(IS_PY3, "test for Python 3 only") def test_stream_write_str(self): - o1_str = u'Python\x00\u3071\u3044\u305d\83093\r\n' + o1_str = u'Python\x00\u3071\u3044\u305d\u3093\r\n' o2_str = u'subVersioN\x00\u3055\u3076\u3070\u30fc\u3058\u3087\u3093' o3_str = u'swig\x00\u3059\u3046\u3043\u3050\rend' out_str = o1_str + o2_str + o3_str