mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-22 22:32:23 +00:00
let it be slow
This commit is contained in:
parent
f4a1a6fd97
commit
3adfb2a108
@ -73,6 +73,11 @@ from ..windows.fixups import (
|
||||
get_argv,
|
||||
)
|
||||
|
||||
slow_settings = settings(
|
||||
suppress_health_check=[HealthCheck.too_slow],
|
||||
deadline=None,
|
||||
)
|
||||
|
||||
@skipUnless(platform.isWindows(), "get_argv is Windows-only")
|
||||
class GetArgvTests(SyncTestCase):
|
||||
"""
|
||||
@ -93,12 +98,9 @@ class GetArgvTests(SyncTestCase):
|
||||
),
|
||||
)
|
||||
|
||||
@settings(
|
||||
# This test runs a child process. This is unavoidably slow and
|
||||
# variable. Disable the two time-based Hypothesis health checks.
|
||||
suppress_health_check=[HealthCheck.too_slow],
|
||||
deadline=None,
|
||||
)
|
||||
# This test runs a child process. This is unavoidably slow and variable.
|
||||
# Disable the two time-based Hypothesis health checks.
|
||||
@slow_settings
|
||||
@given(
|
||||
lists(
|
||||
text(
|
||||
@ -172,6 +174,7 @@ class UnicodeOutputTests(SyncTestCase):
|
||||
"""
|
||||
Tests for writing unicode to stdout and stderr.
|
||||
"""
|
||||
@slow_settings
|
||||
@given(characters(), characters())
|
||||
def test_write_non_ascii(self, stdout_char, stderr_char):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user