
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
sys.modules[None] gets pseudo module when pytest skip condition is string Β· Issue #2103 Β· pytest-dev/pytest
Description:
In pypa/setuptools#860, the test_sandbox tests started failing when another commit was made that invoked a pytest skip with a string expression, because that causes sys.modules to get a None key in that dict. This behavior can be minimal...
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Technology & Computing
- Mobile Technology & AI
- Education
Content Management System {π}
What CMS is github.com built with?
Github.com is powered by 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 {π}
pytest, module, nicoddemus, sysmodules, builtin, update, issue, python, support, code, jaraco, sys, commented, skip, sign, commit, builtins, imp, sourcecompile, version, pull, requests, projects, string, key, testmepy, testthis, assert, remove, earlier, navigation, actions, security, sysmodulesnone, pseudo, condition, closed, tests, behavior, minimally, replicated, import, pytestmarkskipifosenvirongetfoo, def, collecting, cached, collected, test, items, frozenimportlib,
Topics {βοΈ}
/users/jaraco/issue-nnn 3c45fb0 pyup-bot mentioned remove support code pytest collecting pytest nicoddemus edits member f8d1952 nicoddemus mentioned pytest skip condition personal information sys module object alive comment metadata assignees type projects projects milestone pytest skip cached pytest-3 nicoddemus added def test_this tests pass code earliest version string expression early support cached py-1 commented issue pseudo module minimally replicated legitimate expectation assigned labels labels type milestone relationships pytest 31 pytest-3 pytest-3 builtin compile modules test_me py35 pass test github source python 3 support sys 'sys' } = sys skip py py-1 comment compile {'builtins'
Payment Methods {π}
- Braintree
Questions {β}
- Already have an account?
- Thoughts?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:sys.modules[None] gets pseudo module when pytest skip condition is string
articleBody:In pypa/setuptools#860, the test_sandbox tests started failing when another commit was made that invoked a pytest skip with a string expression, because that causes `sys.modules` to get a None key in that dict. This behavior can be minimally replicated thus:
```
$ cat > test_me.py
import sys
import pytest
@pytest.mark.skipif('os.environ.get("foo")')
def test_this():
assert None not in sys.modules
$ python -m rwt pytest -- -m pytest
Collecting pytest
Using cached pytest-3.0.4-py2.py3-none-any.whl
Collecting py>=1.4.29 (from pytest)
Using cached py-1.4.31-py2.py3-none-any.whl
Installing collected packages: py, pytest
Successfully installed py-1.4.31 pytest-3.0.4
====================================== test session starts =======================================
platform darwin -- Python 3.6.0b4, pytest-3.0.4, py-1.4.31, pluggy-0.4.0
rootdir: /Users/jaraco/issue-nnn, inifile:
collected 1 items
test_me.py F
============================================ FAILURES ============================================
___________________________________________ test_this ____________________________________________
@pytest.mark.skipif('os.environ.get("foo")')
def test_this():
> assert None not in sys.modules
E assert None not in {'builtins': <module 'builtins' (built-in)>, 'sys': <module 'sys' (built-in)>, '_frozen_importlib': <module 'importlib._bootstrap' (frozen)>, '_imp': <module '_imp' (built-in)>, ...}
E + where {'builtins': <module 'builtins' (built-in)>, 'sys': <module 'sys' (built-in)>, '_frozen_importlib': <module 'importlib._bootstrap' (frozen)>, '_imp': <module '_imp' (built-in)>, ...} = sys.modules
test_me.py:6: AssertionError
==================================== 1 failed in 0.04 seconds ====================================
$
```
author:
url:https://github.com/jaraco
type:Person
name:jaraco
datePublished:2016-11-30T00:23:07.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:4
url:https://github.com/2103/pytest/issues/2103
context:https://schema.org
headline:sys.modules[None] gets pseudo module when pytest skip condition is string
articleBody:In pypa/setuptools#860, the test_sandbox tests started failing when another commit was made that invoked a pytest skip with a string expression, because that causes `sys.modules` to get a None key in that dict. This behavior can be minimally replicated thus:
```
$ cat > test_me.py
import sys
import pytest
@pytest.mark.skipif('os.environ.get("foo")')
def test_this():
assert None not in sys.modules
$ python -m rwt pytest -- -m pytest
Collecting pytest
Using cached pytest-3.0.4-py2.py3-none-any.whl
Collecting py>=1.4.29 (from pytest)
Using cached py-1.4.31-py2.py3-none-any.whl
Installing collected packages: py, pytest
Successfully installed py-1.4.31 pytest-3.0.4
====================================== test session starts =======================================
platform darwin -- Python 3.6.0b4, pytest-3.0.4, py-1.4.31, pluggy-0.4.0
rootdir: /Users/jaraco/issue-nnn, inifile:
collected 1 items
test_me.py F
============================================ FAILURES ============================================
___________________________________________ test_this ____________________________________________
@pytest.mark.skipif('os.environ.get("foo")')
def test_this():
> assert None not in sys.modules
E assert None not in {'builtins': <module 'builtins' (built-in)>, 'sys': <module 'sys' (built-in)>, '_frozen_importlib': <module 'importlib._bootstrap' (frozen)>, '_imp': <module '_imp' (built-in)>, ...}
E + where {'builtins': <module 'builtins' (built-in)>, 'sys': <module 'sys' (built-in)>, '_frozen_importlib': <module 'importlib._bootstrap' (frozen)>, '_imp': <module '_imp' (built-in)>, ...} = sys.modules
test_me.py:6: AssertionError
==================================== 1 failed in 0.04 seconds ====================================
$
```
author:
url:https://github.com/jaraco
type:Person
name:jaraco
datePublished:2016-11-30T00:23:07.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:4
url:https://github.com/2103/pytest/issues/2103
Person:
url:https://github.com/jaraco
name:jaraco
url:https://github.com/jaraco
name:jaraco
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:4
interactionType:https://schema.org/CommentAction
userInteractionCount:4
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