File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 3232 - name : Run nosetests
3333 run : |
3434 nosetests
35+
36+ test-deb10-i386 :
37+ runs-on : ubuntu-latest
38+ container : i386/debian:10
39+ steps :
40+ - name : Install dependencies
41+ run : |
42+ apt-get update
43+ apt-get install -y --no-install-recommends \
44+ python3-matplotlib \
45+ python3-numpy \
46+ python3-pandas \
47+ python3-requests \
48+ python3-scipy \
49+ python3-nose \
50+ git
51+
52+ # Note: "actions/checkout@v2" requires libstdc++6:amd64 to be
53+ # installed in the container. To keep things simple, use
54+ # "actions/checkout@v1" instead.
55+ # https://github.com/actions/checkout/issues/334
56+ - uses : actions/checkout@v1
57+
58+ - name : Run nosetests
59+ run : |
60+ nosetests3
Original file line number Diff line number Diff line change 1+ import numpy as np
2+
3+
4+ _np_error_state = {}
5+
6+
7+ def setup_module ():
8+ # Raise exceptions for arithmetic errors, except underflow
9+ global _np_error_state
10+ _np_error_state = np .seterr ()
11+ np .seterr ('raise' , under = 'ignore' )
12+
13+
14+ def teardown_module ():
15+ # Restore original error handling state
16+ np .seterr (** _np_error_state )
You can’t perform that action at this time.
0 commit comments