3be3d6fc4046ae1fe1d4461455ab3e2164d26d7c,lib/tests/streamlit/file_uploader_test.py,FileUploaderTest,test_multiple_files,#FileUploaderTest#Any#,49
Before Change
// If "accept_multiple_files" is True, then we should get a list of values
// back. Otherwise, we should just get a single value.
if accept_multiple:
self.assertEqual(files, return_val)
else:
self.assertEqual(files[0], return_val)
def test_max_upload_size_mb(self):
After Change
]
self.assertEqual(file_recs, results)
else:
results = UploadedFileRec(
return_val.id,
return_val.name,
return_val.type,
return_val.getvalue(),
)
self.assertEqual(file_recs[0], results)
def test_max_upload_size_mb(self):
Test that the max upload size is the configuration value.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: streamlit/streamlit
Commit Name: 3be3d6fc4046ae1fe1d4461455ab3e2164d26d7c
Time: 2020-12-08
Author: tconkling@gmail.com
File Name: lib/tests/streamlit/file_uploader_test.py
Class Name: FileUploaderTest
Method Name: test_multiple_files
Project Name: matplotlib/matplotlib
Commit Name: 39fb7b5b96ea46aca94099d166106365eaf0647e
Time: 2018-03-08
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/tests/test_backend_ps.py
Class Name:
Method Name: test_savefig_to_stringio
Project Name: pandas-dev/pandas
Commit Name: 03b9ad89b41da5c5d606c575b39ff3ed1f718a53
Time: 2020-11-25
Author: 41443370+ivanovmg@users.noreply.github.com
File Name: pandas/tests/io/formats/test_info.py
Class Name:
Method Name: test_info_wide