[issue35576] function splitextTest does not return expected value

2018-12-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: As Karthikeyan said, (1) is a duplicate of issue35538. This is expected behavior. (2) is a duplicate of issue35183 which is still discussed. I do not know what relations do tests for third-party Java library have with the Python stdlib. Note that that

[issue35576] function splitextTest does not return expected value

2018-12-23 Thread Steven D'Aprano
Steven D'Aprano added the comment: Please provide a proper reproducible bug report. Don't make us GUESS what function you are referring to. I don't know any "splitextTest" function that you describe in the bug report title. Do you mean os.path.splitext? Then you should say so. If not, then

[issue35576] function splitextTest does not return expected value

2018-12-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report > 1. For input ".blah." output is "." Please see issue35538 > 2. For input "..." output is "..." Please find the tests at https://github.com/python/cpython/blob/master/Lib/test/test_posixpath.py#L111 For completeness

[issue35576] function splitextTest does not return expected value

2018-12-23 Thread Divya Rani
New submission from Divya Rani : 1. For input ".blah." output is "." 2. For input "..." output is "..." results produced by the function are wrong according to the test suite provided by guava. 1.