50eb53c0507c838f2c4216fddaceb2b0eb7bb73e,plotnine/tests/test_save_as_pdf_pages.py,TestArguments,test_height_width,#TestArguments#,79

Before Change


        for i, plot in enumerate(p()):
            plots.append(plot + theme(figure_size=(8+i, 6+i)))
        fn = next(filename_gen)
        save_as_pdf_pages(plots, fn)
        // assert False, "Check %s" % fn  // Uncomment to check


class TestExceptions:

After Change


        for i, plot in enumerate(p()):
            plots.append(plot + theme(figure_size=(8+i, 6+i)))
        fn = next(filename_gen)
        with pytest.warns(PlotnineWarning):
            save_as_pdf_pages(plots, fn)
        // assert False, "Check %s" % fn  // Uncomment to check


class TestExceptions:
    def test_plot_exception(self):
        // Force an error in drawing
        fn = next(filename_gen)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: has2k1/plotnine
Commit Name: 50eb53c0507c838f2c4216fddaceb2b0eb7bb73e
Time: 2020-11-30
Author: has2k1@gmail.com
File Name: plotnine/tests/test_save_as_pdf_pages.py
Class Name: TestArguments
Method Name: test_height_width


Project Name: has2k1/plotnine
Commit Name: 50eb53c0507c838f2c4216fddaceb2b0eb7bb73e
Time: 2020-11-30
Author: has2k1@gmail.com
File Name: plotnine/tests/test_save_as_pdf_pages.py
Class Name:
Method Name: test_save_as_pdf_pages_closes_plots


Project Name: has2k1/plotnine
Commit Name: 50eb53c0507c838f2c4216fddaceb2b0eb7bb73e
Time: 2020-11-30
Author: has2k1@gmail.com
File Name: plotnine/tests/test_save_as_pdf_pages.py
Class Name: TestArguments
Method Name: test_filename_plot_path