42367e4e33a7c8a19cfacda5a432cc6c44b4ca81,lib/tests/streamlit/delta_generator_test.py,DeltaGeneratorImageTest,test_unequal_images_and_captions_error,#DeltaGeneratorImageTest#,422

Before Change



        self._dg.image([url] * 5, caption=[caption] * 2)

        element = get_element(self._dg)
        self.assertEqual(element.exception.message,
                         "Cannot pair 2 captions with 5 images.")

After Change



        self._dg.image([url] * 5, caption=[caption] * 2)

        element = self.queue[-1].delta.new_element
        self.assertEqual(element.exception.message,
                         "Cannot pair 2 captions with 5 images.")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 8

Non-data size: 9

Instances


Project Name: streamlit/streamlit
Commit Name: 42367e4e33a7c8a19cfacda5a432cc6c44b4ca81
Time: 2019-05-11
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/delta_generator_test.py
Class Name: DeltaGeneratorImageTest
Method Name: test_unequal_images_and_captions_error


Project Name: streamlit/streamlit
Commit Name: 42367e4e33a7c8a19cfacda5a432cc6c44b4ca81
Time: 2019-05-11
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/delta_generator_test.py
Class Name: DeltaGeneratorTextTest
Method Name: test_generic_text


Project Name: streamlit/streamlit
Commit Name: 42367e4e33a7c8a19cfacda5a432cc6c44b4ca81
Time: 2019-05-11
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/delta_generator_test.py
Class Name: DeltaGeneratorTextTest
Method Name: test_code


Project Name: streamlit/streamlit
Commit Name: 42367e4e33a7c8a19cfacda5a432cc6c44b4ca81
Time: 2019-05-11
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/delta_generator_test.py
Class Name: DeltaGeneratorTextTest
Method Name: test_json_string


Project Name: streamlit/streamlit
Commit Name: 42367e4e33a7c8a19cfacda5a432cc6c44b4ca81
Time: 2019-05-11
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/delta_generator_test.py
Class Name: DeltaGeneratorTextTest
Method Name: test_markdown


Project Name: streamlit/streamlit
Commit Name: 42367e4e33a7c8a19cfacda5a432cc6c44b4ca81
Time: 2019-05-11
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/delta_generator_test.py
Class Name: DeltaGeneratorTextTest
Method Name: test_json_object


Project Name: streamlit/streamlit
Commit Name: 42367e4e33a7c8a19cfacda5a432cc6c44b4ca81
Time: 2019-05-11
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/delta_generator_test.py
Class Name: DeltaGeneratorTextTest
Method Name: test_json_unserializable


Project Name: streamlit/streamlit
Commit Name: 42367e4e33a7c8a19cfacda5a432cc6c44b4ca81
Time: 2019-05-11
Author: thiagot@gmail.com
File Name: lib/tests/streamlit/delta_generator_test.py
Class Name: DeltaGeneratorTextTest
Method Name: test_empty