Skip to content

Commit

Permalink
Move py_install within the test
Browse files Browse the repository at this point in the history
  • Loading branch information
KentonWhite authored Apr 27, 2024
1 parent c2e8b66 commit 252fe29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test-load.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
context('Load project')
reticulate::py_install("pandas")

test_that('All elements have length 1', {
test_project <- tempfile('test_project')
Expand Down Expand Up @@ -376,6 +375,8 @@ test_that('pass munge files to run',{
# expect_false(exists("test_data_1"))
expect_true(exists("test_data_2"))
expect_true(exists("test_data_3"))

reticulate::py_install("pandas")
# ------------------------------------------------------------------------------
# Define a Python script and put in munge subdirectory directory
# ------------------------------------------------------------------------------
Expand Down

0 comments on commit 252fe29

Please sign in to comment.