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

basilisp-lang / basilisp / 6000632053 / 1
99%
main: 99%

Build:
DEFAULT BRANCH: main
Ran 28 Aug 2023 01:53PM UTC
Files 42
Run time 1s
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

28 Aug 2023 01:41PM UTC coverage: 99.121%. Remained the same
6000632053.1

push

github

web-flow
Fix issue with `with` failing with traceback error. (#715)

Hi,

could you please fix for `with` to not fail with traceback error when an
exception is thrown. It fixes #714 .

It seems that the `with` macro expected the `__traceback__` field of an
exception to be a method, but it is rather a __field__
https://docs.python.org/3/library/traceback.html
> The module uses traceback objects — these are objects of type
[types.TracebackType](https://docs.python.org/3/library/types.html#types.TracebackType),
which are assigned to the __traceback__ field of
[BaseException](https://docs.python.org/3/library/exceptions.html#BaseException)
instances.

For some reason this issue does not manifest with `python/open`
resources, as if the `__enter__` magic method is not hit (or perhaps it
is lazy gc and it will eventually happen).

I've added a test for the same.

Thanks,

Co-authored-by: ikappaki <ikappaki@users.noreply.github.com>

1641 of 1643 branches covered (0.0%)

Branch coverage included in aggregate %.

7720 of 7801 relevant lines covered (98.96%)

0.99 hits per line

Source Files on job 6000632053.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 6000632053
  • 53735318 on github
  • Prev Job for on main (#5970005543.1)
  • Next Job for on main (#7100595864.1)
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