Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pytest Style: test_xvg.py #1493

Merged
merged 1 commit into from Jul 16, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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