summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/nturl2path.py7
-rw-r--r--Lib/test/test_sundry.py3
2 files changed, 7 insertions, 3 deletions
diff --git a/Lib/nturl2path.py b/Lib/nturl2path.py
index 36dc765887..853e660838 100644
--- a/Lib/nturl2path.py
+++ b/Lib/nturl2path.py
@@ -1,4 +1,9 @@
-"""Convert a NT pathname to a file URL and vice versa."""
+"""Convert a NT pathname to a file URL and vice versa.
+
+This module only exists to provide OS-specific code
+for urllib.requests, thus do not use directly.
+"""
+# Testing is done through test_urllib.
def url2pathname(url):
"""OS-specific conversion from a relative URL of the 'file' scheme
diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py
index 1fb9964698..dddf326552 100644
--- a/Lib/test/test_sundry.py
+++ b/Lib/test/test_sundry.py
@@ -6,8 +6,7 @@ import unittest
class TestUntestedModules(unittest.TestCase):
def test_untested_modules_can_be_imported(self):
- untested = ('bdb', 'encodings', 'formatter',
- 'nturl2path', 'tabnanny')
+ untested = ('bdb', 'encodings', 'formatter', 'tabnanny')
with support.check_warnings(quiet=True):
for name in untested:
try: