Skip to content

Commit

Permalink
fix up chemfiles test
Browse files Browse the repository at this point in the history
  • Loading branch information
richardjgowers committed Jun 6, 2020
1 parent e15108f commit b9a3633
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testsuite/MDAnalysisTests/coordinates/test_writer_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def test_ts_deprecated(writer, tmpdir):
u = mda.Universe.empty(10, trajectory=True)

if writer == mda.coordinates.chemfiles.ChemfilesWriter:
# chemfiles Writer exists but doesn't work without chemfiles
pytest.importorskip('chemfiles')
fn = str(tmpdir.join('out.xtc'))
else:
fn = str(tmpdir.join('out.traj'))
Expand Down

0 comments on commit b9a3633

Please sign in to comment.