Skip to content

Commit ec2be05

Browse files
[PR #8299/28d026eb backport][3.9] Create marker for internal tests (#8307)
**This is a backport of PR #8299 as merged into master (28d026e).** Co-authored-by: Sam Bull <git@sambull.org>
1 parent 292d961 commit ec2be05

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

CHANGES/8299.packaging.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Added an ``internal`` pytest marker for tests which should be skipped
2+
by packagers (use ``-m 'not internal'`` to disable them) -- by :user:`Dreamsorcerer`.

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,4 @@ junit_family=xunit2
171171
xfail_strict = true
172172
markers =
173173
dev_mode: mark test to run in dev mode.
174+
internal: tests which may cause issues for packagers, but should be run in aiohttp's CI.

tests/test_imports.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def test_web___all__(pytester: pytest.Pytester) -> None:
3333
}
3434

3535

36+
@pytest.mark.internal
3637
@pytest.mark.skipif(
3738
not sys.platform.startswith("linux") or platform.python_implementation() == "PyPy",
3839
reason="Timing is more reliable on Linux",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy