Skip to content

Commit

Permalink
Pytest Style test_xvg.py (#1493)
Browse files Browse the repository at this point in the history
  • Loading branch information
utkbansal authored and kain88-de committed Jul 16, 2017
1 parent c3e9cc5 commit 7173fcf
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions testsuite/MDAnalysisTests/auxiliary/test_xvg.py
Expand Up @@ -23,8 +23,7 @@

from six.moves import range
import pytest
from numpy.testing import (assert_equal, assert_raises, assert_almost_equal,
assert_array_equal, raises)
from numpy.testing import assert_array_equal
import numpy as np

import os
Expand Down Expand Up @@ -120,13 +119,13 @@ def test_get_auxreader_for(self, ref, reader):
# so test specifying format
reader = mda.auxiliary.core.get_auxreader_for(ref.testdata,
format=ref.format)
assert_equal(reader, ref.reader)
assert reader == ref.reader

def test_reopen(self, reader):
reader._reopen()
# should start us back at before step 0, so next takes us to step 0
reader.next()
assert_equal(reader.step, 0)
assert reader.step == 0


def test_xvg_bz2():
Expand Down

0 comments on commit 7173fcf

Please sign in to comment.