They previously would use the linux profiles, but recently some discrepancies in
the function call count on osx would make the tests fail.
Change-Id: Ifdfdca1676972de4179f59cdaae196f6805d4a21
from . import config
from .util import gc_collect
from ..util import cpython
+from ..util import osx
from ..util import win32
if win32:
platform_tokens.append("win")
+ if osx:
+ platform_tokens.append("osx")
platform_tokens.append(
"nativeunicode"
if config.db.dialect.convert_unicode
from .compat import itertools_filterfalse # noqa
from .compat import namedtuple # noqa
from .compat import next # noqa
+from .compat import osx # noqa
from .compat import parse_qsl # noqa
from .compat import perf_counter # noqa
from .compat import pickle # noqa
cpython = platform.python_implementation() == "CPython"
win32 = sys.platform.startswith("win")
+osx = sys.platform.startswith("darwin")
has_refcount_gc = bool(cpython)