Skip to content

Commit

Permalink
Fix test_init in test_cactus_grid_function
Browse files Browse the repository at this point in the history
  • Loading branch information
Sbozzolo committed Jun 14, 2022
1 parent 66c06bc commit 3bee20b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#### Bug fixes
- Fix str representation of multipoles
- Fix implicit plotting of `Series` for `matplotlib >= 3.5.2`
- Fix `test_init` in `test_cactus_grid_function`

## Version 1.3.4 (22 April 2022)

Expand Down
6 changes: 3 additions & 3 deletions tests/test_cactus_grid_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,9 +472,9 @@ def test_init(self):
# Let's check this first one
#
# We have to remove the blank lines from the count
expected_data = np.loadtxt(
self.rho_star_file, usecols=(12,), max_rows=875
)
expected_data = np.loadtxt(self.rho_star_file, usecols=(12,))[
: 29 * 29
]

expected_grid = grid_data.UniformGrid(
[29, 29],
Expand Down

0 comments on commit 3bee20b

Please sign in to comment.