Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Windows, all packages are reported in lower case #89

Closed
nedbat opened this issue Sep 11, 2010 · 3 comments
Closed

On Windows, all packages are reported in lower case #89

nedbat opened this issue Sep 11, 2010 · 3 comments
Labels
bug Something isn't working report

Comments

@nedbat
Copy link
Owner

nedbat commented Sep 11, 2010

This is because we use os.path.normcase to canonicalize the paths for comparisons.


@nedbat
Copy link
Owner Author

nedbat commented May 8, 2012

Original comment by pablodcar (Bitbucket: pablodcar, GitHub: pablodcar)


Hi Ned,

I was bitten by this bug. My use case is that I run test cases in Windows (case-insensitive paths), while I aggregate and display coverage information later in a Linux box checking out sources from SVN (case-sensitive paths).

I did some changes that worked for me, based in that question in Stack Overflow asked by you some time ago: http://stackoverflow.com/questions/3692261/in-python-how-can-i-get-the-correctly-cased-path-for-a-file

I attach a patch, and I would like you to review these little changes to include them in a future release if possible.

Thanks in advance,

Pablo Carballo

@nedbat
Copy link
Owner Author

nedbat commented May 22, 2012

Original comment by Kamil Kisiel (Bitbucket: kisielk, GitHub: kisielk)


Sorry, was playing with Bitbucket cards and didn't think it would actually do anything!

@nedbat
Copy link
Owner Author

nedbat commented Nov 11, 2012

Fixed in <<changeset 31ca39cb1da5 (bb)>>.

@nedbat nedbat closed this as completed Nov 11, 2012
@nedbat nedbat added major bug Something isn't working report labels Jun 23, 2018
agronholm added a commit to agronholm/coveragepy that referenced this issue Aug 16, 2020
agronholm added a commit to agronholm/coveragepy that referenced this issue Aug 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working report
Projects
None yet
Development

No branches or pull requests

1 participant