https://bz.mercurial-scm.org/show_bug.cgi?id=5335
Bug ID: 5335 Summary: Unexpected behaviour while using --with-python3 Product: Mercurial Version: 3.9-rc Hardware: PC OS: Linux Status: UNCONFIRMED Severity: bug Priority: wish Component: Mercurial Assignee: bugzi...@selenic.com Reporter: 7895pul...@gmail.com CC: mercurial-de...@selenic.com I noticed this fixing the raise statement in mercurial/bundle2.py. The commit which got pushed can be seen here https://www.selenic.com/hg/rev/e584c6235500. There is test-bundle2-format.t which will fail we haven't raised the exception correctly. Now if we intentionally try to fail the test on python 3 by changing the lines of code in python 3 if block, what I tried was replacing with `raise abc`, and run the test on python 3, the test passes, which should not. If we try changing the statement in py2 else block and change it to something like `raise abc`, and then run the test on python 3, we should expect the test to pass, as we are not using python 2, but the test fails. What seems is like even using --with-python3 the tests are running on python 2 only. Maybe something is missing in implementation. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel