prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Adding tests for rapid inspection of visual elements
  **What would you like changed/added and why?**
  
  Quoting @jeromedockes  here, from https://github.com/nilearn/nilearn/pull/2191#issuecomment-546278888
  Since we are adding reports etc. we should add more meaningful inspection of generated plots and reports in the tests
  
  **What would be the benefit? Does the change make something easier to use?**
  
   I think CircleCI does all this but it takes way too long. Maybe a faster simpler test to quickly generate plots and reports to visually examine will be useful?
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `nilearn/reporting/__init__.py`
  Content:
  ```
  1 """Reporting code for nilearn.
  2 
  3 This module implements plotting functions useful to report analysis results.
  4 
  5 Author: Martin Perez-Guevara, Elvis Dohmatob, 2017
  6 """
  7 
  8 from nilearn.reporting.get_clusters_table import get_clusters_table
  9 from nilearn.reporting.glm_reporter import make_glm_report
  10 from nilearn.reporting.html_report import HTMLReport
  11 
  12 __all__ = [
  13     "HTMLReport",
  14     "get_clusters_table",
  15     "make_glm_report",
  16 ]
  17
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/nilearn/reporting/__init__.py b/nilearn/reporting/__init__.py
  --- a/nilearn/reporting/__init__.py
  +++ b/nilearn/reporting/__init__.py
  @@ -1,10 +1,10 @@
   """Reporting code for nilearn.
   
   This module implements plotting functions useful to report analysis results.
  -
  -Author: Martin Perez-Guevara, Elvis Dohmatob, 2017
   """
   
  +# Author: Martin Perez-Guevara, Elvis Dohmatob, 2017
  +
   from nilearn.reporting.get_clusters_table import get_clusters_table
   from nilearn.reporting.glm_reporter import make_glm_report
   from nilearn.reporting.html_report import HTMLReport
  
verification_info: {"golden_diff": "diff --git a/nilearn/reporting/__init__.py b/nilearn/reporting/__init__.py\n--- a/nilearn/reporting/__init__.py\n+++ b/nilearn/reporting/__init__.py\n@@ -1,10 +1,10 @@\n \"\"\"Reporting code for nilearn.\n \n This module implements plotting functions useful to report analysis results.\n-\n-Author: Martin Perez-Guevara, Elvis Dohmatob, 2017\n \"\"\"\n \n+# Author: Martin Perez-Guevara, Elvis Dohmatob, 2017\n+\n from nilearn.reporting.get_clusters_table import get_clusters_table\n from nilearn.reporting.glm_reporter import make_glm_report\n from nilearn.reporting.html_report import HTMLReport\n", "issue": "Adding tests for rapid inspection of visual elements\n**What would you like changed/added and why?**\r\n\r\nQuoting @jeromedockes  here, from https://github.com/nilearn/nilearn/pull/2191#issuecomment-546278888\r\nSince we are adding reports etc. we should add more meaningful inspection of generated plots and reports in the tests\r\n\r\n**What would be the benefit? Does the change make something easier to use?**\r\n\r\n I think CircleCI does all this but it takes way too long. Maybe a faster simpler test to quickly generate plots and reports to visually examine will be useful?\n", "before_files": [{"content": "\"\"\"Reporting code for nilearn.\n\nThis module implements plotting functions useful to report analysis results.\n\nAuthor: Martin Perez-Guevara, Elvis Dohmatob, 2017\n\"\"\"\n\nfrom nilearn.reporting.get_clusters_table import get_clusters_table\nfrom nilearn.reporting.glm_reporter import make_glm_report\nfrom nilearn.reporting.html_report import HTMLReport\n\n__all__ = [\n    \"HTMLReport\",\n    \"get_clusters_table\",\n    \"make_glm_report\",\n]\n", "path": "nilearn/reporting/__init__.py"}], "after_files": [{"content": "\"\"\"Reporting code for nilearn.\n\nThis module implements plotting functions useful to report analysis results.\n\"\"\"\n\n# Author: Martin Perez-Guevara, Elvis Dohmatob, 2017\n\nfrom nilearn.reporting.get_clusters_table import get_clusters_table\nfrom nilearn.reporting.glm_reporter import make_glm_report\nfrom nilearn.reporting.html_report import HTMLReport\n\n__all__ = [\n    \"HTMLReport\",\n    \"get_clusters_table\",\n    \"make_glm_report\",\n]\n", "path": "nilearn/reporting/__init__.py"}]}