##// 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 """Test suite for the deepreload module."""
2 """Test suite for the deepreload module."""
2
3
4 #-----------------------------------------------------------------------------
5 # Imports
6 #-----------------------------------------------------------------------------
7
3 from IPython.testing import decorators as dec
8 from IPython.testing import decorators as dec
4 from IPython.lib.deepreload import reload as dreload
9 from IPython.lib.deepreload import reload as dreload
5
10
11 #-----------------------------------------------------------------------------
12 # Test functions begin
13 #-----------------------------------------------------------------------------
14
6 @dec.skipif_not_numpy
15 @dec.skipif_not_numpy
7 def test_deepreload_numpy():
16 def test_deepreload_numpy():
8 import numpy
17 import numpy
9 exclude = [
18 exclude = [
10 # Standard exclusions:
19 # Standard exclusions:
11 'sys', 'os.path', '__builtin__', '__main__',
20 'sys', 'os.path', '__builtin__', '__main__',
12 # Test-related exclusions:
21 # Test-related exclusions:
13 'unittest',
22 'unittest',
14 ]
23 ]
15 dreload(numpy, exclude=exclude)
24 dreload(numpy, exclude=exclude)
General Comments 0
You need to be logged in to leave comments. Login now