Show More
@@ -1,14 +1,11 b'' | |||||
1 | # http://travis-ci.org/#!/ipython/ipython |
|
1 | # http://travis-ci.org/#!/ipython/ipython | |
2 | language: python |
|
2 | language: python | |
3 | python: |
|
3 | python: | |
4 | - "nightly" |
|
4 | - "3.5.0b3" | |
5 | - 3.4 |
|
5 | - 3.4 | |
6 | - 3.3 |
|
6 | - 3.3 | |
7 | - 2.7 |
|
7 | - 2.7 | |
8 | sudo: false |
|
8 | sudo: false | |
9 | matrix: |
|
|||
10 | allow_failures: |
|
|||
11 | - python : "nightly" |
|
|||
12 | before_install: |
|
9 | before_install: | |
13 | - git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels |
|
10 | - git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels | |
14 | - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi' |
|
11 | - 'if [[ $GROUP != js* ]]; then COVERAGE=""; fi' |
@@ -23,12 +23,16 b' from IPython.lib.deepreload import reload as dreload' | |||||
23 | def test_deepreload_numpy(): |
|
23 | def test_deepreload_numpy(): | |
24 | "Test that NumPy can be deep reloaded." |
|
24 | "Test that NumPy can be deep reloaded." | |
25 | import numpy |
|
25 | import numpy | |
|
26 | # TODO: Find a way to exclude all standard library modules from reloading. | |||
26 | exclude = [ |
|
27 | exclude = [ | |
27 | # Standard exclusions: |
|
28 | # Standard exclusions: | |
28 | 'sys', 'os.path', builtin_mod_name, '__main__', |
|
29 | 'sys', 'os.path', builtin_mod_name, '__main__', | |
29 | # Test-related exclusions: |
|
30 | # Test-related exclusions: | |
30 | 'unittest', 'UserDict', '_collections_abc', 'tokenize', |
|
31 | 'unittest', 'UserDict', '_collections_abc', 'tokenize', | |
31 | 'collections', 'collections.abc', |
|
32 | 'collections', 'collections.abc', | |
|
33 | 'importlib', 'importlib.machinery', '_imp', | |||
|
34 | 'importlib._bootstrap', 'importlib._bootstrap_external', | |||
|
35 | '_frozen_importlib', '_frozen_importlib_external', | |||
32 | ] |
|
36 | ] | |
33 |
|
37 | |||
34 | dreload(numpy, exclude=exclude) |
|
38 | dreload(numpy, exclude=exclude) |
General Comments 0
You need to be logged in to leave comments.
Login now