perl/Module-Build-Tiny: update to 0.051 for Perl 5.36 and 5.38
[oi-userland.git] / components / python / detect_test_pollution / patches / 01-pytest-disable-plugins.patch
blob0a40bef87691523dde37750398d94ea16e84927e
1 --- detect-test-pollution-1.2.0/tests/detect_test_pollution_test.py.orig
2 +++ detect-test-pollution-1.2.0/tests/detect_test_pollution_test.py
3 @@ -17,6 +17,7 @@
4 res = pytester.inline_runsource(
5 'def test(): pass',
6 '-p', detect_test_pollution.__name__,
7 + '-p', 'no:black',
9 assert res.ret == 0
11 @@ -35,6 +36,9 @@
12 '-p', detect_test_pollution.__name__,
13 # use `=` to avoid pytest's basedir detection
14 f'--dtp-testids-output-file={out}',
15 + '-p', 'no:black',
16 + '-p', 'no:mypy',
17 + '-p', 'no:randomly',
19 assert res.ret == 0
21 @@ -78,6 +82,8 @@
22 '-p', detect_test_pollution.__name__,
23 # use `=` to avoid pytest's basedir detection
24 f'--dtp-results-output-file={out}',
25 + '-p', 'no:black',
26 + '-p', 'no:mypy',
28 assert res.ret == 1
30 @@ -107,6 +113,8 @@
31 '-p', detect_test_pollution.__name__,
32 # use `=` to avoid pytest's basedir detection
33 f'--dtp-results-output-file={out}',
34 + '-p', 'no:black',
35 + '-p', 'no:mypy',
37 assert res.ret == 1