Skip to content

Commit

Permalink
make black
Browse files Browse the repository at this point in the history
  • Loading branch information
nschloe committed Apr 5, 2019
1 parent a574529 commit 076e323
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion meshio/msh_io/msh4_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"""
from functools import partial
import logging

# import struct

import numpy
Expand All @@ -19,8 +20,8 @@
# _meshio_to_gmsh_type,
_read_physical_names,
# _write_physical_names,
_read_data,
# _write_data,
_read_data,
)
from .msh2 import write as write2 # revert where necessary; TODO: drop this

Expand Down
10 changes: 9 additions & 1 deletion test/test_abaqus.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,15 @@ def writer(*args, **kwargs):

@pytest.mark.parametrize(
"filename, md5, ref_sum, ref_num_cells",
[("abaqus/abaqus_mesh_ex.inp", "e0a9a7a88b25d9fadccdd653c91e33ea", -68501.914611293, 3492)],
[
(
"abaqus/abaqus_mesh_ex.inp",
"e0a9a7a88b25d9fadccdd653c91e33ea",
-68501.914611293,
3492,
),
("abaqus/UUea.inp", "d76e526eeced5f79ba867d496559002a", 4950.0, 50),
],
)
@pytest.mark.parametrize("write_binary", [False, True])
def test_reference_file(filename, md5, ref_sum, ref_num_cells, write_binary):
Expand Down

0 comments on commit 076e323

Please sign in to comment.