Skip to content

Commit

Permalink
more edits due to Travis CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xiyuw123 committed Jul 14, 2015
1 parent 09832e7 commit 33b436f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion csv_to_ascii.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def ascii_output(csv_results="", ascii_results=""):
#Number of characters in each column, must be whole nonnegative integer
col_size = 15

df = pd.read_csv(csv_results)
df = pd.read_csv(csv_results, dtype=object)

#keeps only listed recid's
if recids != []:
Expand Down
10 changes: 5 additions & 5 deletions taxcalc/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,11 +495,11 @@ def csvfile():
@pytest.yield_fixture
def asciifile():

txt = ("A \t 1.0\t 100.0\t 123.45\n"
"B \t 2.0\t 200.0\t 678.912\n"
"C \t 3.0\t 300.0\t 0.0\n"
"D \t 4.0\t 400.0\t 87.0\n"
"EFGH \t 0.0\t 500.0\t 92.0"
txt = ("A \t1 \t100 \t123.45 \n"
"B \t2 \t200 \t678.912 \n"
"C \t3 \t300 \t000.000 \n"
"D \t4 \t400 \t87 \n"
"EFGH \t0 \t500 \t92 "
)

f = tempfile.NamedTemporaryFile(mode="a", delete=False)
Expand Down

0 comments on commit 33b436f

Please sign in to comment.