Skip to content

Commit 5288be6

Browse files
committed
adjust warnings to not be warnings - but note need to fix this in #763
1 parent 64c564f commit 5288be6

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

tests/testthat/_snaps/greta-sitrep.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
greta_sitrep()
139139
Message
140140
i checking if python available
141-
v python (v3.10) available
141+
v python (v3.6) available
142142
143143
i checking if TensorFlow available
144144
v TensorFlow (v2.15.0) available
@@ -149,15 +149,14 @@
149149
i checking if greta conda environment available
150150
v greta conda environment available
151151
152-
i greta is ready to use!
153152

154153
---
155154

156155
Code
157156
greta_sitrep()
158157
Message
159158
i checking if python available
160-
v python (v3.10) available
159+
v python (v3.6) available
161160
162161
i checking if TensorFlow available
163162
v TensorFlow (v2.0.0) available
@@ -175,7 +174,7 @@
175174
greta_sitrep()
176175
Message
177176
i checking if python available
178-
v python (v3.10) available
177+
v python (v3.6) available
179178
180179
i checking if TensorFlow available
181180
v TensorFlow (v2.0.0) available

tests/testthat/test-greta-sitrep.R

+3-3
Original file line numberDiff line numberDiff line change
@@ -123,23 +123,23 @@ test_that("greta_sitrep warns when different versions of python, tf, tfp", {
123123
py_version = function(...) "3.6"
124124
)
125125

126-
expect_snapshot_warning(
126+
expect_snapshot(
127127
greta_sitrep()
128128
)
129129

130130
local_mocked_bindings(
131131
version_tf = function(...) "2.0.0"
132132
)
133133

134-
expect_snapshot_warning(
134+
expect_snapshot(
135135
greta_sitrep()
136136
)
137137

138138
local_mocked_bindings(
139139
version_tfp = function(...) "0.9.0"
140140
)
141141

142-
expect_snapshot_warning(
142+
expect_snapshot(
143143
greta_sitrep()
144144
)
145145

0 commit comments

Comments
 (0)