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

RDFLib / rdflib / 10154699676
90%
master: 91%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/pyparsing-3.3.1
DEFAULT BRANCH: master
Ran 30 Jul 2024 01:47AM UTC
Jobs 13
Files 119
Run time 1min
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

30 Jul 2024 01:44AM UTC coverage: 90.626% (-0.02%) from 90.642%
10154699676

push

github

web-flow
Prevent Collection from adding 'rdf:nil rdf:rest rdf:nil.' triples (#2818)

* fix: Prevent Collection from add 'rdf:nil rdf:rest rdf:nil.' triples

Creating 'Collection(graph, RDF.nil)' used to add a 'rdf:nil rdf:rest rdf:nil.'
triple to the graph, which turned the empty list into an infinite list.

This was a side-effect of unconditionally appending 'seq' to the collection,
which is not possible when the collection is 'nil' without ill side-effects.

This commit makes the append conditional; and also checks the collection
is non-empty in case the user explicitly tries to add item to the empty list.

* Move emptiness check out of _end()

This will allow using _end() in other methods that would not need to append

* Also prevent insertion at the end of finalized lists

Co-authored-by: Ashley Sommer <ashleysommer@gmail.com>

* Also prevent .append() on finalized lists

Co-authored-by: Ashley Sommer <ashleysommer@gmail.com>

---------

Co-authored-by: Nicholas Car <nick@kurrawong.net>
Co-authored-by: Ashley Sommer <ashleysommer@gmail.com>

6137 of 7671 branches covered (80.0%)

4 of 6 new or added lines in 1 file covered. (66.67%)

2 existing lines in 1 file now uncovered.

19383 of 21388 relevant lines covered (90.63%)

11.48 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
93.69
-1.59% rdflib/collection.py

Uncovered Existing Lines

Lines Coverage ∆ File
2
96.5
-0.21% rdflib/extras/infixowl.py
Jobs
ID Job ID Ran Files Coverage
1 macos-latest-3.10 - 10154699676.1 30 Jul 2024 01:50AM UTC 119
87.93
GitHub Action Run
2 ubuntu-latest-3.8 - 10154699676.2 30 Jul 2024 01:50AM UTC 119
90.27
GitHub Action Run
3 ubuntu-latest-3.11 - 10154699676.3 30 Jul 2024 01:50AM UTC 119
89.15
GitHub Action Run
4 windows-latest-3.11 - 10154699676.4 30 Jul 2024 01:50AM UTC 119
87.93
GitHub Action Run
5 windows-latest-3.8 - 10154699676.5 30 Jul 2024 01:50AM UTC 119
87.91
GitHub Action Run
6 ubuntu-latest-3.10 - 10154699676.6 30 Jul 2024 01:50AM UTC 119
87.93
GitHub Action Run
7 macos-latest-3.9 - 10154699676.7 30 Jul 2024 01:50AM UTC 119
87.89
GitHub Action Run
8 ubuntu-latest-3.8-min - 10154699676.8 30 Jul 2024 01:50AM UTC 119
90.26
GitHub Action Run
9 windows-latest-3.9 - 10154699676.9 30 Jul 2024 01:50AM UTC 119
87.91
GitHub Action Run
10 ubuntu-latest-3.9 - 10154699676.10 30 Jul 2024 01:50AM UTC 119
87.91
GitHub Action Run
11 windows-latest-3.10 - 10154699676.11 30 Jul 2024 01:50AM UTC 119
87.94
GitHub Action Run
12 macos-latest-3.11 - 10154699676.12 30 Jul 2024 01:50AM UTC 119
87.92
GitHub Action Run
13 macos-latest-3.8 - 10154699676.13 30 Jul 2024 01:50AM UTC 119
87.91
GitHub Action Run
Source Files on build 10154699676
  • Tree
  • List 119
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • cb2c8d1e on github
  • Prev Build on main (#10140259314)
  • Next Build on main (#10170593328)
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

© 2025 Coveralls, Inc