remove useless assignment
This commit is contained in:
parent
807a5a1652
commit
1a7127f6df
|
@ -102,7 +102,7 @@ class ImportTests(unittest.TestCase):
|
|||
sys.path.insert(0, os.curdir)
|
||||
try:
|
||||
fname = TESTFN + os.extsep + "py"
|
||||
f = open(fname, 'w').close()
|
||||
open(fname, 'w').close()
|
||||
os.chmod(fname, (stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH |
|
||||
stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH))
|
||||
__import__(TESTFN)
|
||||
|
|
Loading…
Reference in New Issue