cherrypy / cherrypy

@@ -272,7 +272,10 @@
Loading
272 272
        self.getPage('/demo/ended/1')
273 273
        self.assertBody('True')
274 274
275 -
        valerr = '\n    raise ValueError()\nValueError'
275 +
        if sys.version_info >= (3, 11):
276 +
            valerr = '\n    raise ValueError()\n    ^^^^^^^^^^^^^^^^^^\nValueError'
277 +
        else:
278 +
            valerr = '\n    raise ValueError()\nValueError'
276 279
        self.getPage('/demo/err?id=3')
277 280
        # If body is "razdrez", then on_end_request is being called too early.
278 281
        self.assertErrorPage(502, pattern=valerr)

@@ -557,7 +557,10 @@
Loading
557 557
        ignore = helper.webtest.ignored_exceptions
558 558
        ignore.append(ValueError)
559 559
        try:
560 -
            valerr = '\n    raise ValueError()\nValueError'
560 +
            if sys.version_info >= (3, 11):
561 +
                valerr = '\n    raise ValueError()\n    ^^^^^^^^^^^^^^^^^^\nValueError'
562 +
            else:
563 +
                valerr = '\n    raise ValueError()\nValueError'
561 564
            self.getPage('/error/page_method')
562 565
            self.assertErrorPage(500, pattern=valerr)
563 566
Files Coverage
cherrypy 74.54%
Project Totals (105 files) 74.54%
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