• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

LudovicRousseau / pyscard / 11323269743
67%

Build:
DEFAULT BRANCH: master
Ran 14 Oct 2024 07:56AM UTC
Jobs 20
Files 76
Run time 10min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Oct 2024 07:55AM UTC coverage: 64.919% (+0.3%) from 64.591%
11323269743

push

github

LudovicRousseau
Test and improve the synchronization code

Added
-----

* Add tests to bring `Synchronization.py` to 100% coverage
* Add type annotations to the synchronization primitives
* Add `typing_extensions` as a Python 3.9 requirement;
  this is needed to annotate that the `synchronized()` decorator
  takes a function with a certain set of parameter and return types
  and returns a function with the same parameter and return types

Changed
-------

* Make the synchronized function's `self` parameter explicit;
  this allows the `self` parameter to be type-annotated
  so the dependency on the `self.mutex` attribute is explicit
* Use the `self.mutex` lock as a context manager
* Support keyword arguments to synchronized functions

Fixed
-----

* Wrap synchronized functions correctly;
  previous behavior was to lose the function name and docstring

Removed
-------

* Remove `print()` lines that are commented out
* Remove a `bytes` instance check; method names can only be strings

100 of 466 branches covered (21.46%)

21 of 22 new or added lines in 1 file covered. (95.45%)

34 existing lines in 22 files now uncovered.

4210 of 6485 relevant lines covered (64.92%)

4.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11323269743.1 14 Oct 2024 07:56AM UTC 0
43.23
GitHub Action Run
2 11323269743.2 14 Oct 2024 07:56AM UTC 0
43.5
GitHub Action Run
3 11323269743.3 14 Oct 2024 07:56AM UTC 0
43.5
GitHub Action Run
4 11323269743.4 14 Oct 2024 07:56AM UTC 0
43.23
GitHub Action Run
5 11323269743.5 14 Oct 2024 07:56AM UTC 0
43.23
GitHub Action Run
6 11323269743.6 14 Oct 2024 07:56AM UTC 0
34.2
GitHub Action Run
7 11323269743.7 14 Oct 2024 07:56AM UTC 0
40.86
GitHub Action Run
8 11323269743.8 14 Oct 2024 07:56AM UTC 0
41.15
GitHub Action Run
9 11323269743.9 14 Oct 2024 07:56AM UTC 0
43.5
GitHub Action Run
10 11323269743.10 14 Oct 2024 07:56AM UTC 0
27.47
GitHub Action Run
11 11323269743.11 14 Oct 2024 07:56AM UTC 0
42.96
GitHub Action Run
12 11323269743.12 14 Oct 2024 07:56AM UTC 0
42.96
GitHub Action Run
13 11323269743.13 14 Oct 2024 07:57AM UTC 0
42.78
GitHub Action Run
14 11323269743.14 14 Oct 2024 07:57AM UTC 0
42.96
GitHub Action Run
15 11323269743.15 14 Oct 2024 07:57AM UTC 0
40.6
GitHub Action Run
16 11323269743.16 14 Oct 2024 07:57AM UTC 0
42.96
GitHub Action Run
17 11323269743.17 14 Oct 2024 07:57AM UTC 0
42.96
GitHub Action Run
18 11323269743.18 14 Oct 2024 07:57AM UTC 0
42.96
GitHub Action Run
19 11323269743.19 14 Oct 2024 07:58AM UTC 0
27.58
GitHub Action Run
20 11323269743.20 14 Oct 2024 07:58AM UTC 0
40.6
GitHub Action Run
Source Files on build 11323269743
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11323269743
  • 0186f217 on github
  • Prev Build on master (#11317769185)
  • Next Build on master (#11331433530)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc