File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 16
16
- name : Install dependencies
17
17
run : |
18
18
python setup.py develop
19
+ pip install numpy
19
20
20
21
- name : Test
21
22
shell : ' script -q -e -c "bash {0}"'
Original file line number Diff line number Diff line change @@ -296,14 +296,13 @@ def test_one():
296
296
297
297
def test_np_arrays_can_use_equals (testdir ) -> None :
298
298
"""
299
- NP iterables will fall back to pytest default output
299
+ Numpy iterables will fall back to pytest default output
300
300
"""
301
- testdir .copy_example ('tests/fakes.py' )
302
301
testdir .makepyfile ("""
303
- from fakes import FakeNumpyArray
302
+ import numpy as np
304
303
305
304
def test():
306
- result = FakeNumpyArray ([1, 2, 3])
305
+ result = np.array ([1, 2, 3])
307
306
308
307
assert all(result == 2)
309
308
""" )
You can’t perform that action at this time.
0 commit comments