##// END OF EJS Templates
Reformat test to a standard style.
Bradley M. Froehle -
Show More
@@ -1,15 +1,24 b''
1 # -*- coding: utf-8 -*-
1 2 """Test suite for the deepreload module."""
2 3
4 #-----------------------------------------------------------------------------
5 # Imports
6 #-----------------------------------------------------------------------------
7
3 8 from IPython.testing import decorators as dec
4 9 from IPython.lib.deepreload import reload as dreload
5 10
11 #-----------------------------------------------------------------------------
12 # Test functions begin
13 #-----------------------------------------------------------------------------
14
6 15 @dec.skipif_not_numpy
7 16 def test_deepreload_numpy():
8 17 import numpy
9 18 exclude = [
10 19 # Standard exclusions:
11 20 'sys', 'os.path', '__builtin__', '__main__',
12 21 # Test-related exclusions:
13 22 'unittest',
14 23 ]
15 24 dreload(numpy, exclude=exclude)
General Comments 0
You need to be logged in to leave comments. Login now