# Path: stackimpact/runtime.py
# class runtime_info(object):
#     OS_LINUX = (sys.platform.startswith('linux'))
#     OS_DARWIN = (sys.platform == 'darwin')
#     OS_WIN = (sys.platform == 'win32')
#     PYTHON_2 = (sys.version_info.major == 2)
#     PYTHON_3 = (sys.version_info.major == 3)
#     GEVENT = False


import time
import unittest
import random
import threading
import sys
import traceback
import stackimpact
from stackimpact.runtime import runtime_info




class CPUProfilerTestCase(unittest.TestCase):

    def test_record_profile(self):
        if runtime_info.OS_WIN:
            return

        stackimpact._agent = None
        agent = stackimpact.start(

# Path: stackimpact/runtime.py
# class runtime_info(object):
#     OS_LINUX = (sys.platform.startswith('linux'))
#     OS_DARWIN = (sys.platform == 'darwin')
#     OS_WIN = (sys.platform == 'win32')
#     PYTHON_2 = (sys.version_info.major == 2)
#     PYTHON_3 = (sys.version_info.major == 3)
#     GEVENT = False


# Path: tests/profilers/cpu_profiler_test.py
import time
import unittest
import random
import threading
import sys
import traceback
import stackimpact
from stackimpact.runtime import runtime_info





class CPUProfilerTestCase(unittest.TestCase):

    def test_record_profile(self):
        if runtime_info.OS_WIN:
            return

        stackimpact._agent = None
        agent = stackimpact.start(

            dashboard_address = 'http://localhost:5001',