Skip to content

Commit

Permalink
TST: drop unneeded demographics field
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffgortmaker committed May 13, 2018
1 parent ed48ab1 commit 3a0a9e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ def knittel_metaxoglou_2014():
'characteristics': characteristics
})]
})
problem = Problem(product_data, np.recfromcsv(BLP_AGENTS_LOCATION))
agent_data = np.lib.recfunctions.drop_fields(np.recfromcsv(BLP_AGENTS_LOCATION), 'demographics0')
problem = Problem(product_data, agent_data)
return scipy.io.loadmat(str(TEST_DATA_PATH / 'knittel_metaxoglou_2014.mat'), {'problem': problem})


Expand Down

0 comments on commit 3a0a9e9

Please sign in to comment.