Skip to content

Commit 32929bd

Browse files
Add require_cothread to relevant tests
cothread doesn't exist on Windows.
1 parent 0b0af28 commit 32929bd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_records.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,16 +351,19 @@ def test_on_update_false_false(self, out_records):
351351
always_update is False and the put'ed value is always different"""
352352
self.on_update_runner(out_records, False, False)
353353

354+
@requires_cothread
354355
def test_on_update_false_true(self, out_records):
355356
"""Test that on_update works correctly for all out records when
356357
always_update is False and the put'ed value is always the same"""
357358
self.on_update_runner(out_records, False, True)
358359

360+
@requires_cothread
359361
def test_on_update_true_true(self, out_records):
360362
"""Test that on_update works correctly for all out records when
361363
always_update is True and the put'ed value is always the same"""
362364
self.on_update_runner(out_records, True, True)
363365

366+
@requires_cothread
364367
def test_on_update_true_false(self, out_records):
365368
"""Test that on_update works correctly for all out records when
366369
always_update is True and the put'ed value is always different"""

0 commit comments

Comments
 (0)