Skip to content

Commit a357486

Browse files
committed
format fix
1 parent c380ffc commit a357486

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qiniu/test/resumable_io_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def test_block(self):
5252

5353
def test_put(self):
5454
src = urllib.urlopen("http://cheneya.qiniudn.com/hello_jpg")
55-
tmpf = os.tmpnam()
55+
tmpf = os.tmpnam()
5656
dst = open(tmpf, 'wb')
5757
shutil.copyfileobj(src, dst)
5858
src.close()
@@ -64,7 +64,7 @@ def test_put(self):
6464
localfile = dst.name
6565
ret, err = resumable_io.put_file(policy.token(), key, localfile, extra)
6666
dst.close()
67-
os.remove(tmpf)
67+
os.remove(tmpf)
6868

6969
assert err is None, err
7070
self.assertEqual(ret["hash"], "FnyTMUqPNRTdk1Wou7oLqDHkBm_p", "hash not match")

0 commit comments

Comments
 (0)