Skip to content

Commit b22011b

Browse files
authored
Merge pull request #531 from leancloud/more-file-tests
test: construct LCFile from bytes literal
2 parents bbea2db + bd8dab4 commit b22011b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_file.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ def fn(s):
6060
fn(cStringIO.StringIO(b))
6161
fn(buffer(b)) # noqa: F821
6262

63+
if six.PY3:
64+
fn(b)
6365

6466
def test_create_with_url(): # type: () -> None
6567
f = File.create_with_url(

0 commit comments

Comments
 (0)