@ -996,6 +996,21 @@ class ModuleTestCase(unittest.TestCase):
else:
assert 0, 'expected exception'
# testcase for a security issue that may exist on windows systems
import os
import ntpath
old_path = os.path
os.path = ntpath
try:
f('..\\__init__.py')
except NotFound:
pass
finally:
os.path = old_path
class SendfileTestCase(unittest.TestCase):