Skip to content

Commit f12fc9d

Browse files
committed
Use SerialParam in test
1 parent 53a9a44 commit f12fc9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/testthat/test-countStatePairs.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ test_that("countStatePairs works", {
2626
"must not be .NULL.")
2727
expect_error(countStatePairs(bamfile = modbamfile, regions = NULL,
2828
modbase = "a", nAlnsToSample = 5,
29-
seqnamesToSampleFrom = "chr2"),
29+
seqnamesToSampleFrom = "chr2",
30+
BPPARAM = BiocParallel::SerialParam()),
3031
"Cannot sample 5 alignments from a total of 0")
3132
expect_error(countStatePairs(bamfile = modbamfile, regions = ".",
3233
modbase = "a", threshUnmod = -1),

0 commit comments

Comments
 (0)