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

QuantEcon / QuantEcon.py / 35824518239
94%

Build:
DEFAULT BRANCH: main
Ran 23 Sep 2026 06:00AM UTC
Jobs 1
Files 94
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

23 Sep 2026 05:56AM UTC coverage: 94.0% (+0.007%) from 93.993%
35824518239

push

github

web-flow
DEPR: deprecate Matlab-like tic/tac/toc/loop_timer timers (#786) (#833)

* DEPR: deprecate Matlab-like tic/tac/toc/loop_timer timers (#786)

Emit a DeprecationWarning from the public `tic`, `tac`, `toc` and
`loop_timer` functions, pointing users to the modern `Timer` context
manager and `timeit` function added in #783/#794. Removal is targeted
for v0.12.0.

- `__Timer__.loop_timer` now calls its own methods (`self.tic`/`tac`/
  `toc`) instead of the public wrappers, so a single `loop_timer` call
  emits exactly one warning rather than one per run.
- The warning uses `stacklevel=3` so it is attributed to the user's
  call site rather than the wrapper.
- Added `.. deprecated:: 0.12.0` directives to the module and the
  affected docstrings.
- Added tests asserting each function warns, that `loop_timer` warns
  only once, and that the warning points at the caller.

Note: the original issue mentioned removal in 0.9.*, but the library is
already at v0.11.2, so this targets v0.12.0 instead.

* Update deprecation removal target to v1.0

---------

Co-authored-by: Matt McKay <mmcky@users.noreply.github.com>

10 of 10 new or added lines in 1 file covered. (100.0%)

5515 of 5867 relevant lines covered (94.0%)

0.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 35824518239.1 23 Sep 2026 06:00AM UTC 94
94.0
GitHub Action Run
Source Files on build 35824518239
  • Tree
  • List 94
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35824518239
  • 090fecaa on github
  • Prev Build on main (#35821365257)
  • Next Build on main (#35826932655)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc