dec89a73dbf20c7dc2a8358864981de3080c84ed,bokeh/io/tests/test_export.py,,test_get_svgs_with_svg_present,#,112
Before Change
svg0 = fix_ids(bie.get_svgs(layout)[0])
driver = webdriver.PhantomJS(service_log_path=os.path.devnull)
svg1 = fix_ids(bie.get_svgs(layout)[0])
terminate_web_driver(driver) // Have to manually clean up the driver session
svg2 = (
"<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" "
After Change
svg0 = fix_ids(bie.get_svgs(layout)[0])
driver = create_webdriver()
try:
svg1 = fix_ids(bie.get_svgs(layout)[0])
finally:
terminate_webdriver(driver) // Have to manually clean up the driver session
svg2 = (
"<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" "
"width="20" height="20" style="width: 20px; height: 20px;">"
"<defs>"
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: bokeh/bokeh
Commit Name: dec89a73dbf20c7dc2a8358864981de3080c84ed
Time: 2018-04-11
Author: mattpap@gmail.com
File Name: bokeh/io/tests/test_export.py
Class Name:
Method Name: test_get_svgs_with_svg_present
Project Name: bokeh/bokeh
Commit Name: dec89a73dbf20c7dc2a8358864981de3080c84ed
Time: 2018-04-11
Author: mattpap@gmail.com
File Name: bokeh/io/tests/test_export.py
Class Name:
Method Name: test_get_screenshot_as_png_with_driver
Project Name: bokeh/bokeh
Commit Name: dec89a73dbf20c7dc2a8358864981de3080c84ed
Time: 2018-04-11
Author: mattpap@gmail.com
File Name: bokeh/io/tests/test_export.py
Class Name:
Method Name: test_get_screenshot_as_png_large_plot