We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When running python fake_filesystem_test.py on cygwin x86_64 (On windows 8.1), testExpandUser fails.
python fake_filesystem_test.py
Output:
FAIL: testExpandUser (__main__.FakePathModuleTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "fake_filesystem_test.py", line 1858, in testExpandUser self.assertEqual('/root', self.path.expanduser('~root')) AssertionError: '/root' != '~root'
After changing 1852 if sys.platform.startswith('win'): to: 1852 if sys.platform.startswith('win') or sys.platform == 'cygwin':, the output is now:
1852 if sys.platform.startswith('win'):
1852 if sys.platform.startswith('win') or sys.platform == 'cygwin':
FAIL: testExpandUser (__main__.FakePathModuleTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "fake_filesystem_test.py", line 1854, in testExpandUser self.os.environ['USERPROFILE'].replace('\\', '/')) AssertionError: '/home/Filip' != 'C:/Users/Filip'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When running
python fake_filesystem_test.py
on cygwin x86_64 (On windows 8.1), testExpandUser fails.Output:
After changing
1852 if sys.platform.startswith('win'):
to:1852 if sys.platform.startswith('win') or sys.platform == 'cygwin':
,the output is now:
The text was updated successfully, but these errors were encountered: