
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
caplog.get_records and caplog.clear conflict Β· Issue #9877 Β· pytest-dev/pytest
Description:
Description caplog.get_records() gets decoupled from actual caplog records when caplog.clear() is called. As a result, after caplog.clear() is called, caplog.get_records() is frozen: it does not get cleared, nor does it get new records. ...
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Technology & Computing
- DIY & Home Improvement
- Arts & Entertainment
Content Management System {π}
What CMS is github.com built with?
Github.com utilizes WORDPRESS.
Traffic Estimate {π}
What is the average monthly size of github.com audience?
ππ Tremendous Traffic: 10M - 20M visitors per month
Based on our best estimate, this website will receive around 10,000,019 visitors per month in the current month.
However, some sources were not loaded, we suggest to reload the page to get complete results.
check SE Ranking
check Ahrefs
check Similarweb
check Ubersuggest
check Semrush
How Does Github.com Make Money? {πΈ}
Subscription Packages {π³}
We've located a dedicated page on github.com that might include details about subscription plans or recurring payments. We identified it based on the word pricing in one of its internal links. Below, you'll find additional estimates for its monthly recurring revenues.How Much Does Github.com Make? {π°}
Subscription Packages {π³}
Prices on github.com are in US Dollars ($).
They range from $4.00/month to $21.00/month.
We estimate that the site has approximately 4,989,889 paying customers.
The estimated monthly recurring revenue (MRR) is $20,957,532.
The estimated annual recurring revenues (ARR) are $251,490,385.
Wordpress Themes and Plugins {π¨}
What WordPress theme does this site use?
It is strange but we were not able to detect any theme on the page.
What WordPress plugins does this website use?
It is strange but we were not able to detect any plugins on the page.
Keywords {π}
records, emptyrabbit, stage, fix, clear, caplog, issue, caplogclear, added, log, sanderr, commented, sign, caploggetrecords, set, def, verifyconsistency, type, plugin, capture, projects, list, edited, edits, contributor, caploghandler, logcapturehandler, reference, listlogginglogrecord, object, itemstash, navigation, pytest, code, pull, requests, actions, security, conflict, closed, description, called, cleared, test, caplogrecords, assert, details, bug, problem, addressed,
Topics {βοΈ}
setup/call/teardown stage begin emptyrabbit edits contributor setup/call/teardown c7be7bd emptyrabbit mentioned assigned labels plugin code base storage caplog record comment metadata assignees personal information caplog actual caplog records type projects py def _runtest_for stashkey[dict[str captured log text storing list[logging projects milestone emptyrabbit added py def clear records object reference stage caplog ronnypfannschmidt closed stage records running stage log records set stage capture related addressed type fix caplog_handler assert caplog added set_when list[logging issue def verify_consistency stash[caplog_records_key][ list object caplog_handler object bug problem dynamically fetch safely ignore lost bind milestone relationships stash item test set store logcapturehandler stage set logcapturehandler github fix set_when line caplog
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
- LogRecord], store LogCaptureHandler "?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:caplog.get_records and caplog.clear conflict
articleBody:# Description
`caplog.get_records()` gets decoupled from actual caplog records when `caplog.clear()` is called. As a result, after `caplog.clear()` is called, `caplog.get_records()` is frozen: it does not get cleared, nor does it get new records.
During test set up it is [set to the same list](https://github.com/pytest-dev/pytest/blob/28e8c8582ea947704655a3c3f2d57184831336fd/src/_pytest/logging.py#L699) as `caplog.records`, but the latter gets [replaced rather than cleared](https://github.com/pytest-dev/pytest/blob/28e8c8582ea947704655a3c3f2d57184831336fd/src/_pytest/logging.py#L345) in `caplog.clear()`, which diverges the two objects.
# Reproductive example
```python
import logging
def test(caplog) -> None:
def verify_consistency() -> None:
assert caplog.get_records("call") == caplog.records
verify_consistency()
logging.warning("test")
verify_consistency()
caplog.clear()
verify_consistency() # fails: assert [<LogRecord: ...y, 8, "test">] == []
```
# Environment details
Arch Linux, Python 3.9.10:
```
Package Version
---------- -------
attrs 21.4.0
iniconfig 1.1.1
packaging 21.3
pip 22.0.4
pluggy 1.0.0
py 1.11.0
pyparsing 3.0.8
pytest 7.1.1
setuptools 60.10.0
tomli 2.0.1
wheel 0.37.1
```
author:
url:https://github.com/sanderr
type:Person
name:sanderr
datePublished:2022-04-21T14:49:50.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:5
url:https://github.com/9877/pytest/issues/9877
context:https://schema.org
headline:caplog.get_records and caplog.clear conflict
articleBody:# Description
`caplog.get_records()` gets decoupled from actual caplog records when `caplog.clear()` is called. As a result, after `caplog.clear()` is called, `caplog.get_records()` is frozen: it does not get cleared, nor does it get new records.
During test set up it is [set to the same list](https://github.com/pytest-dev/pytest/blob/28e8c8582ea947704655a3c3f2d57184831336fd/src/_pytest/logging.py#L699) as `caplog.records`, but the latter gets [replaced rather than cleared](https://github.com/pytest-dev/pytest/blob/28e8c8582ea947704655a3c3f2d57184831336fd/src/_pytest/logging.py#L345) in `caplog.clear()`, which diverges the two objects.
# Reproductive example
```python
import logging
def test(caplog) -> None:
def verify_consistency() -> None:
assert caplog.get_records("call") == caplog.records
verify_consistency()
logging.warning("test")
verify_consistency()
caplog.clear()
verify_consistency() # fails: assert [<LogRecord: ...y, 8, "test">] == []
```
# Environment details
Arch Linux, Python 3.9.10:
```
Package Version
---------- -------
attrs 21.4.0
iniconfig 1.1.1
packaging 21.3
pip 22.0.4
pluggy 1.0.0
py 1.11.0
pyparsing 3.0.8
pytest 7.1.1
setuptools 60.10.0
tomli 2.0.1
wheel 0.37.1
```
author:
url:https://github.com/sanderr
type:Person
name:sanderr
datePublished:2022-04-21T14:49:50.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:5
url:https://github.com/9877/pytest/issues/9877
Person:
url:https://github.com/sanderr
name:sanderr
url:https://github.com/sanderr
name:sanderr
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:5
interactionType:https://schema.org/CommentAction
userInteractionCount:5
External Links {π}(2)
Analytics and Tracking {π}
- Site Verification - Google
Libraries {π}
- Clipboard.js
- D3.js
- Lodash
Emails and Hosting {βοΈ}
Mail Servers:
- aspmx.l.google.com
- alt1.aspmx.l.google.com
- alt2.aspmx.l.google.com
- alt3.aspmx.l.google.com
- alt4.aspmx.l.google.com
Name Servers:
- dns1.p08.nsone.net
- dns2.p08.nsone.net
- dns3.p08.nsone.net
- dns4.p08.nsone.net
- ns-1283.awsdns-32.org
- ns-1707.awsdns-21.co.uk
- ns-421.awsdns-52.com
- ns-520.awsdns-01.net