
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
SyntaxWarnings re-triggered during expected failure Β· Issue #4260 Β· pytest-dev/pytest
Description:
import pytest def test(): '\d' # should be a warning @pytest.mark.xfail def test_expected_failure(): assert False $ pytest t.py ============================= test session starts ===========...
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Technology & Computing
- Education
- Social Networks
Content Management System {π}
What CMS is github.com built with?
Github.com employs 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,653,780 visitors per month in the current month.
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 5,316,107 paying customers.
The estimated monthly recurring revenue (MRR) is $22,327,651.
The estimated annual recurring revenues (ARR) are $267,931,808.
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 {π}
issue, warnings, source, pytest, added, sign, asottile, plugin, projects, tpy, commit, references, update, navigation, pull, requests, actions, security, syntaxwarnings, retriggered, expected, failure, closed, def, test, warning, deprecationwarning, invalid, escape, sequence, docs, doesnt, related, builtin, merge, scheduled, dependency, github, type, milestone, footer, skip, content, menu, product, solutions, resources, open, enterprise, pricing,
Topics {βοΈ}
pytest/src/_pytest/_code/source org/en/latest/warnings personal information syntaxwarnings xfail def test_expected_failure assigned labels plugin a6a1585 wdv4758h added 1d1bafd guykisel added comment metadata assignees type projects projects milestone content warnings related swallow warnings pytest-3 pytest collected 2 items docs //docs astnode = compile clever things anonymous compilation milestone relationships github source e93a9a9 sign 2 warnings py-1 py warning sign skip jump triggered mark pluggy-0 0 rootdir /tmp/ inifile deprecationwarning https 1 xfailed 04 seconds ================ confused bit appears e6e40db exec ast change signature
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:SyntaxWarnings re-triggered during expected failure
articleBody:```python
import pytest
def test():
'\d' # should be a warning
@pytest.mark.xfail
def test_expected_failure():
assert False
```
```console
$ pytest t.py
============================= test session starts ==============================
platform linux -- Python 3.6.6, pytest-3.9.3, py-1.7.0, pluggy-0.8.0
rootdir: /tmp/t, inifile:
collected 2 items
t.py .x [100%]
=============================== warnings summary ===============================
t.py:5
/tmp/t/t.py:5: DeprecationWarning: invalid escape sequence \d
'\d' # should be a warning
t.py::test_expected_failure
source:5: DeprecationWarning: invalid escape sequence \d
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 1 passed, 1 xfailed, 2 warnings in 0.04 seconds ================
```
I was at first confused by the "source" bit, that appears to come from here:
https://github.com/pytest-dev/pytest/blob/e6e40db9c7c5f585185df699513ea745a4429336/src/_pytest/_code/source.py#L293
would have to change the signature probably to pass along the filename so that doesn't say "source" in the output. Might have to do some other clever things to make sure it doesn't get invoked at all when unnecessary π€·ββοΈ
author:
url:https://github.com/asottile
type:Person
name:asottile
datePublished:2018-10-28T19:06:49.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:0
url:https://github.com/4260/pytest/issues/4260
context:https://schema.org
headline:SyntaxWarnings re-triggered during expected failure
articleBody:```python
import pytest
def test():
'\d' # should be a warning
@pytest.mark.xfail
def test_expected_failure():
assert False
```
```console
$ pytest t.py
============================= test session starts ==============================
platform linux -- Python 3.6.6, pytest-3.9.3, py-1.7.0, pluggy-0.8.0
rootdir: /tmp/t, inifile:
collected 2 items
t.py .x [100%]
=============================== warnings summary ===============================
t.py:5
/tmp/t/t.py:5: DeprecationWarning: invalid escape sequence \d
'\d' # should be a warning
t.py::test_expected_failure
source:5: DeprecationWarning: invalid escape sequence \d
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 1 passed, 1 xfailed, 2 warnings in 0.04 seconds ================
```
I was at first confused by the "source" bit, that appears to come from here:
https://github.com/pytest-dev/pytest/blob/e6e40db9c7c5f585185df699513ea745a4429336/src/_pytest/_code/source.py#L293
would have to change the signature probably to pass along the filename so that doesn't say "source" in the output. Might have to do some other clever things to make sure it doesn't get invoked at all when unnecessary π€·ββοΈ
author:
url:https://github.com/asottile
type:Person
name:asottile
datePublished:2018-10-28T19:06:49.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:0
url:https://github.com/4260/pytest/issues/4260
Person:
url:https://github.com/asottile
name:asottile
url:https://github.com/asottile
name:asottile
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:0
interactionType:https://schema.org/CommentAction
userInteractionCount:0
External Links {π}(2)
Analytics and Tracking {π}
- Site Verification - Google
Libraries {π}
- Clipboard.js
- D3.js
- Lodash
- Typed.js
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