Showing 1 of 1 files from the diff.

@@ -11,9 +11,6 @@
Loading
11 11
from cherrypy.test import helper
12 12
13 13
14 -
IS_WINDOWS = os.name == 'nt'
15 -
16 -
17 14
engine = cherrypy.engine
18 15
thisdir = os.path.join(os.getcwd(), os.path.dirname(__file__))
19 16
@@ -165,7 +162,10 @@
Loading
165 162
        self.assertEqual(db_connection.running, False)
166 163
        self.assertEqual(len(db_connection.threads), 0)
167 164
168 -
    @pytest.mark.xfail(reason='KeyboardInterrupt #1873', run=not IS_WINDOWS)
165 +
    @pytest.mark.xfail(
166 +
        raises=KeyboardInterrupt, reason='KeyboardInterrupt #1873',
167 +
        run=False,
168 +
    )
169 169
    def test_2_KeyboardInterrupt(self):
170 170
        # Raise a keyboard interrupt in the HTTP server's main thread.
171 171
        # We must start the server in this, the main thread
@@ -224,9 +224,6 @@
Loading
224 224
        self.assertEqual(db_connection.running, False)
225 225
        self.assertEqual(len(db_connection.threads), 0)
226 226
227 -
    if not IS_WINDOWS:
228 -
        test_2_KeyboardInterrupt = pytest.mark.forked(test_2_KeyboardInterrupt)
229 -
230 227
    @pytest.mark.xfail(
231 228
        'sys.platform == "Darwin" '
232 229
        'and sys.version_info > (3, 7) '
Files Coverage
cherrypy 79.91%
Project Totals (104 files) 79.91%
2972.6
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
2972.7
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
2974.6
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
2974.7
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
2976.6
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
2976.7
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
2979.7
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
2979.6
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
2981.6
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
2981.7
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
6mk9itw8b70s6nfd
ij2crixiemswsmga
mc290v9j5windbu1
2964.7
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
2964.6
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
2968.7
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
2968.6
TRAVIS_PYTHON_VERSION=3.7
TRAVIS_OS_NAME=linux
1
codecov:
2
  bot: codecov
3
  notify:
4
    require_ci_to_pass: yes
5

6
coverage:
7
  precision: 2
8
  round: down
9
  range: "70...100"
10

11
  status:
12
    # Only consider coverage of the code snippet changed in PR
13
    project: no
14
    patch: yes
15
    changes: no
16

17
parsers:
18
  gcov:
19
    branch_detection:
20
      conditional: yes
21
      loop: yes
22
      method: no
23
      macro: no
24

25
comment:
26
  layout: "header, diff"
27
  behavior: default
28
  require_changes: no
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading