Skip to content

Commit

Permalink
remove message expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
dragosmg committed Jan 26, 2022
1 parent a213fc0 commit 2f30447
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions r/tests/testthat/test-Array.R
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,6 @@ test_that("array supports POSIXct (ARROW-3340)", {
})

test_that("array uses local timezone for POSIXct without timezone", {
expect_message(
Array$create(as.POSIXct("1970-01-01 00:00:15")),
regexp = "You have not supplied a timezone"
)
withr::with_envvar(c(TZ = "Asia/Ulaanbaatar"), {
times <- strptime("2019-02-03 12:34:56", format = "%Y-%m-%d %H:%M:%S") + 1:10
expect_array_roundtrip(times, timestamp("us", "Asia/Ulaanbaatar"))
Expand Down

0 comments on commit 2f30447

Please sign in to comment.