code: def test_pop_layout(self):
      fig = go.Figure(layout=go.Layout(width=1000))
      self.assertEqual(fig.pop("layout"), go.Layout(width=1000))
      self.assertEqual(fig.layout, go.Layout())
  
imports: import plotly.graph_objects
  from plotly.subplots import make_subplots
  from plotly.tests.utils import TestCaseNoTemplate
  import pytest
label_desc: Use image node_id 14 for calling the FigureTest obj's underlying member method code with example usage: obj.test_pop_layout() without return types