"""Test suite for the deepreload module."""

from IPython.testing import decorators as dec
from IPython.lib.deepreload import reload as dreload

@dec.skipif_not_numpy
def test_deepreload_numpy():
    import numpy
    exclude = [
        # Standard exclusions:
        'sys', 'os.path', '__builtin__', '__main__',
        # Test-related exclusions:
        'unittest',
        ]
    dreload(numpy, exclude=exclude)

"""Test suite for the deepreload module."""

#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------

from IPython.testing import decorators as dec
from IPython.lib.deepreload import reload as dreload

#-----------------------------------------------------------------------------
# Test functions begin
#-----------------------------------------------------------------------------

@dec.skipif_not_numpy
def test_deepreload_numpy():
    import numpy
    exclude = [
        # Standard exclusions:
        'sys', 'os.path', '__builtin__', '__main__',
        # Test-related exclusions:
        'unittest',
        ]
    dreload(numpy, exclude=exclude)

Reformat test to a standard style.
Reformat test to a standard style.

  """Test suite for the deepreload module."""
+ 
+ #-----------------------------------------------------------------------------
+ # Imports
+ #-----------------------------------------------------------------------------
  
  from IPython.testing import decorators as dec
  from IPython.lib.deepreload import reload as dreload
+ 
+ #-----------------------------------------------------------------------------
+ # Test functions begin
+ #-----------------------------------------------------------------------------
  
  @dec.skipif_not_numpy
  def test_deepreload_numpy():
      import numpy
      exclude = [
          # Standard exclusions:
          'sys', 'os.path', '__builtin__', '__main__',
          # Test-related exclusions:
          'unittest',
          ]
      dreload(numpy, exclude=exclude)
  
Reformat test to a standard style.
## Code Before:
"""Test suite for the deepreload module."""

from IPython.testing import decorators as dec
from IPython.lib.deepreload import reload as dreload

@dec.skipif_not_numpy
def test_deepreload_numpy():
    import numpy
    exclude = [
        # Standard exclusions:
        'sys', 'os.path', '__builtin__', '__main__',
        # Test-related exclusions:
        'unittest',
        ]
    dreload(numpy, exclude=exclude)

## Instruction:
Reformat test to a standard style.
## Code After:
"""Test suite for the deepreload module."""

#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------

from IPython.testing import decorators as dec
from IPython.lib.deepreload import reload as dreload

#-----------------------------------------------------------------------------
# Test functions begin
#-----------------------------------------------------------------------------

@dec.skipif_not_numpy
def test_deepreload_numpy():
    import numpy
    exclude = [
        # Standard exclusions:
        'sys', 'os.path', '__builtin__', '__main__',
        # Test-related exclusions:
        'unittest',
        ]
    dreload(numpy, exclude=exclude)
