We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eca18aa commit 2725cb0Copy full SHA for 2725cb0
Lib/test/test_urllib.py
@@ -1470,7 +1470,8 @@ def test_urlopener_retrieve_file(self):
1470
os.close(fd)
1471
fileurl = "file:" + urllib.request.pathname2url(tmpfile)
1472
filename, _ = urllib.request.URLopener().retrieve(fileurl)
1473
- self.assertEqual(filename, tmpfile)
+ # Some buildbots have TEMP folder that uses a lowercase drive letter.
1474
+ self.assertEqual(os.path.normcase(filename), os.path.normcase(tmpfile))
1475
1476
@support.ignore_warnings(category=DeprecationWarning)
1477
def test_urlopener_retrieve_remote(self):
0 commit comments