Skip to content

Commit

Permalink
Merge pull request #4 from bioforensics/fix/testpandas
Browse files Browse the repository at this point in the history
Fix issue with py.test, doctest, and pandas output
  • Loading branch information
standage authored Oct 10, 2018
2 parents 6d20b25 + 522eb24 commit 7c57f80
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions microhapdb/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env python3
#
# -----------------------------------------------------------------------------
# Copyright (c) 2018, Battelle National Biodefense Institute.
#
# This file is part of MicroHapDB (http://github.com/bioforensics/microhapdb)
# and is licensed under the BSD license: see LICENSE.txt.
# -----------------------------------------------------------------------------


import pandas
import pytest


@pytest.fixture(autouse=True, scope='session')
def pandas_terminal_width():
pandas.set_option('display.width', 1000)
pandas.set_option('display.max_columns', 1000)

0 comments on commit 7c57f80

Please sign in to comment.