-
Notifications
You must be signed in to change notification settings - Fork 24
/
pytest-dev__pytest-7373.gpt-4-0125-preview.eval.log
1054 lines (883 loc) · 66.5 KB
/
pytest-dev__pytest-7373.gpt-4-0125-preview.eval.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Task Metadata:
- Instance ID: pytest-dev__pytest-7373
- Testbed: pytest-dev__pytest__5.4
-
- Evaluation Model: gpt-4-0125-preview
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Command: git -c advice.detachedHead=false checkout 7b77fc086aab8b3a8ebc890200371884555eea1e
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Std. Output:
Previous HEAD position was 678c1a074 assertion: improve diff output of recursive dataclass/attrs
HEAD is now at 7b77fc086 Merge pull request #7368 from bluetech/teardown-in-setup
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Return Code: 0
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Running pre-test command: pip install -e .
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Command: conda run -n pytest-dev__pytest__5.4 pip install -e .
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": true, "shell": true, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Std. Output:
Obtaining file:///home/swe-bench/pytest-dev__pytest
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Getting requirements to build editable: started
Getting requirements to build editable: finished with status 'done'
Preparing editable metadata (pyproject.toml): started
Preparing editable metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: attrs>=17.4.0 in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev522+g7b77fc086) (23.1.0)
Requirement already satisfied: iniconfig in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev522+g7b77fc086) (2.0.0)
Requirement already satisfied: more-itertools>=4.0.0 in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev522+g7b77fc086) (10.1.0)
Requirement already satisfied: packaging in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev522+g7b77fc086) (23.1)
Requirement already satisfied: pluggy<1.0,>=0.12 in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev522+g7b77fc086) (0.13.1)
Requirement already satisfied: py>=1.5.0 in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev522+g7b77fc086) (1.11.0)
Requirement already satisfied: toml in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev522+g7b77fc086) (0.10.2)
Building wheels for collected packages: pytest
Building editable for pytest (pyproject.toml): started
Building editable for pytest (pyproject.toml): finished with status 'done'
Created wheel for pytest: filename=pytest-5.4.1.dev522+g7b77fc086-0.editable-py3-none-any.whl size=5136 sha256=2131be3a53e0060da51c9cdf9be354f58e9fe0bfb921fb2b7fc0cad42f38c1fe
Stored in directory: /tmp/pip-ephem-wheel-cache-wxs0x_i5/wheels/a6/44/a9/b1a742a6dfeb5fa7a6a187e5f4be92c62c5af751ce837b5b46
Successfully built pytest
Installing collected packages: pytest
Attempting uninstall: pytest
Found existing installation: pytest 5.4.1.dev626+g678c1a074
Uninstalling pytest-5.4.1.dev626+g678c1a074:
Successfully uninstalled pytest-5.4.1.dev626+g678c1a074
Successfully installed pytest-5.4.1.dev522+g7b77fc086
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Return Code: 0
Pre-installation Command: conda run -n pytest-dev__pytest__5.4 pip install -e .
Std. Output: Obtaining file:///home/swe-bench/pytest-dev__pytest
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Checking if build backend supports build_editable: started
Checking if build backend supports build_editable: finished with status 'done'
Getting requirements to build editable: started
Getting requirements to build editable: finished with status 'done'
Preparing editable metadata (pyproject.toml): started
Preparing editable metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: attrs>=17.4.0 in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev522+g7b77fc086) (23.1.0)
Requirement already satisfied: iniconfig in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev522+g7b77fc086) (2.0.0)
Requirement already satisfied: more-itertools>=4.0.0 in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev522+g7b77fc086) (10.1.0)
Requirement already satisfied: packaging in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev522+g7b77fc086) (23.1)
Requirement already satisfied: pluggy<1.0,>=0.12 in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev522+g7b77fc086) (0.13.1)
Requirement already satisfied: py>=1.5.0 in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev522+g7b77fc086) (1.11.0)
Requirement already satisfied: toml in /home/swe-bench/miniconda3/envs/pytest-dev__pytest__5.4/lib/python3.9/site-packages (from pytest==5.4.1.dev522+g7b77fc086) (0.10.2)
Building wheels for collected packages: pytest
Building editable for pytest (pyproject.toml): started
Building editable for pytest (pyproject.toml): finished with status 'done'
Created wheel for pytest: filename=pytest-5.4.1.dev522+g7b77fc086-0.editable-py3-none-any.whl size=5136 sha256=2131be3a53e0060da51c9cdf9be354f58e9fe0bfb921fb2b7fc0cad42f38c1fe
Stored in directory: /tmp/pip-ephem-wheel-cache-wxs0x_i5/wheels/a6/44/a9/b1a742a6dfeb5fa7a6a187e5f4be92c62c5af751ce837b5b46
Successfully built pytest
Installing collected packages: pytest
Attempting uninstall: pytest
Found existing installation: pytest 5.4.1.dev626+g678c1a074
Uninstalling pytest-5.4.1.dev626+g678c1a074:
Successfully uninstalled pytest-5.4.1.dev626+g678c1a074
Successfully installed pytest-5.4.1.dev522+g7b77fc086
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Command: git apply -v /home/swe-bench/temp_pytest-dev__pytest-7373_pred_try.patch
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Std. Output:
/home/swe-bench/temp_pytest-dev__pytest-7373_pred_try.patch:52: trailing whitespace.
/home/swe-bench/temp_pytest-dev__pytest-7373_pred_try.patch:70: trailing whitespace.
/home/swe-bench/temp_pytest-dev__pytest-7373_pred_try.patch:90: trailing whitespace.
Checking patch src/_pytest/mark/evaluate.py...
Applied patch src/_pytest/mark/evaluate.py cleanly.
warning: 3 lines add whitespace errors.
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Return Code: 0
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Command: git apply -v -R /home/swe-bench/temp_pytest-dev__pytest-7373_pred_try.patch
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Std. Output:
Checking patch src/_pytest/mark/evaluate.py...
Applied patch src/_pytest/mark/evaluate.py cleanly.
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Return Code: 0
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Command: git apply -v /home/swe-bench/temp_pytest-dev__pytest-7373_pred.patch
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Std. Output:
/home/swe-bench/temp_pytest-dev__pytest-7373_pred.patch:52: trailing whitespace.
/home/swe-bench/temp_pytest-dev__pytest-7373_pred.patch:70: trailing whitespace.
/home/swe-bench/temp_pytest-dev__pytest-7373_pred.patch:90: trailing whitespace.
Checking patch src/_pytest/mark/evaluate.py...
Applied patch src/_pytest/mark/evaluate.py cleanly.
warning: 3 lines add whitespace errors.
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Return Code: 0
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Command: git restore testing/test_mark.py
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Std. Output:
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Return Code: 0
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Command: git apply -v /home/swe-bench/temp_pytest-dev__pytest-7373_test.patch
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Std. Output:
Checking patch testing/test_mark.py...
Applied patch testing/test_mark.py cleanly.
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Return Code: 0
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: conda run -n pytest-dev__pytest__5.4 pytest -rA testing/test_mark.py;
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Command: conda run -n pytest-dev__pytest__5.4 pytest -rA testing/test_mark.py
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 1800}
[pytest-dev__pytest__5.4] [pytest-dev__pytest-7373] Std. Output:
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /home/swe-bench/pytest-dev__pytest, configfile: pyproject.toml
collected 92 items
testing/test_mark.py ................................................... [ 55%]
.........................x............... [100%]
==================================== PASSES ====================================
_________________________ test_marked_class_run_twice __________________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_marked_class_run_twice0
collected 6 items
test_marked_class_run_twice.py ......
============================== 6 passed in 0.02s ===============================
_______________________________ test_ini_markers _______________________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_ini_markers0, configfile: tox.ini
collected 1 item
test_ini_markers.py . [100%]
============================== 1 passed in 0.02s ===============================
_____________________________ test_markers_option ______________________________
----------------------------- Captured stdout call -----------------------------
@pytest.mark.a1: this is a webtest marker
@pytest.mark.a1some: another marker
@pytest.mark.nodescription:
@pytest.mark.filterwarnings(warning): add a warning filter to the given test. see https://docs.pytest.org/en/latest/warnings.html#pytest-mark-filterwarnings
@pytest.mark.skip(reason=None): skip the given test function with an optional reason. Example: skip(reason="no way of currently testing this") skips the test.
@pytest.mark.skipif(condition): skip the given test function if eval(condition) results in a True value. Evaluation happens within the module global context. Example: skipif('sys.platform == "win32"') skips the test if we are on the win32 platform. see https://docs.pytest.org/en/latest/skipping.html
@pytest.mark.xfail(condition, reason=None, run=True, raises=None, strict=False): mark the test function as an expected failure if eval(condition) has a True value. Optionally specify a reason for better reporting and run=False if you don't even want to execute the test function. If only specific exception(s) are expected, you can list them in raises, and if the test fails in other ways, it will be reported as a true failure. See https://docs.pytest.org/en/latest/skipping.html
@pytest.mark.parametrize(argnames, argvalues): call a test function multiple times passing in different arguments in turn. argvalues generally needs to be a list of values if argnames specifies only one name or a list of tuples of values if argnames specifies multiple names. Example: @parametrize('arg1', [1,2]) would lead to two calls of the decorated test function, one with arg1=1 and another with arg1=2.see https://docs.pytest.org/en/latest/parametrize.html for more info and examples.
@pytest.mark.usefixtures(fixturename1, fixturename2, ...): mark tests as needing all of the specified fixtures. see https://docs.pytest.org/en/latest/fixture.html#usefixtures
@pytest.mark.tryfirst: mark a hook implementation function such that the plugin machinery will try to call it first/as early as possible.
@pytest.mark.trylast: mark a hook implementation function such that the plugin machinery will try to call it last/as late as possible.
_________________________ test_ini_markers_whitespace __________________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_ini_markers_whitespace0, configfile: tox.ini
collected 1 item
test_ini_markers_whitespace.py . [100%]
============================== 1 passed in 0.01s ===============================
_______________________ test_marker_without_description ________________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_marker_without_description0, configfile: setup.cfg
collected 0 items
============================ no tests ran in 0.01s =============================
________________ test_markers_option_with_plugin_in_current_dir ________________
----------------------------- Captured stdout call -----------------------------
@pytest.mark.flip:flop
@pytest.mark.filterwarnings(warning): add a warning filter to the given test. see https://docs.pytest.org/en/latest/warnings.html#pytest-mark-filterwarnings
@pytest.mark.skip(reason=None): skip the given test function with an optional reason. Example: skip(reason="no way of currently testing this") skips the test.
@pytest.mark.skipif(condition): skip the given test function if eval(condition) results in a True value. Evaluation happens within the module global context. Example: skipif('sys.platform == "win32"') skips the test if we are on the win32 platform. see https://docs.pytest.org/en/latest/skipping.html
@pytest.mark.xfail(condition, reason=None, run=True, raises=None, strict=False): mark the test function as an expected failure if eval(condition) has a True value. Optionally specify a reason for better reporting and run=False if you don't even want to execute the test function. If only specific exception(s) are expected, you can list them in raises, and if the test fails in other ways, it will be reported as a true failure. See https://docs.pytest.org/en/latest/skipping.html
@pytest.mark.parametrize(argnames, argvalues): call a test function multiple times passing in different arguments in turn. argvalues generally needs to be a list of values if argnames specifies only one name or a list of tuples of values if argnames specifies multiple names. Example: @parametrize('arg1', [1,2]) would lead to two calls of the decorated test function, one with arg1=1 and another with arg1=2.see https://docs.pytest.org/en/latest/parametrize.html for more info and examples.
@pytest.mark.usefixtures(fixturename1, fixturename2, ...): mark tests as needing all of the specified fixtures. see https://docs.pytest.org/en/latest/fixture.html#usefixtures
@pytest.mark.tryfirst: mark a hook implementation function such that the plugin machinery will try to call it first/as early as possible.
@pytest.mark.trylast: mark a hook implementation function such that the plugin machinery will try to call it last/as late as possible.
_________________________ test_mark_on_pseudo_function _________________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_mark_on_pseudo_function0
collected 1 item
test_mark_on_pseudo_function.py . [100%]
============================== 1 passed in 0.01s ===============================
_________ test_strict_prohibits_unregistered_markers[--strict-markers] _________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_strict_prohibits_unregistered_markers0
collected 0 items / 1 error
==================================== ERRORS ====================================
________ ERROR collecting test_strict_prohibits_unregistered_markers.py ________
'unregisteredmark' not found in `markers` configuration option
=========================== short test summary info ============================
ERROR test_strict_prohibits_unregistered_markers.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.12s ===============================
_____________ test_strict_prohibits_unregistered_markers[--strict] _____________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_strict_prohibits_unregistered_markers1
collected 0 items / 1 error
==================================== ERRORS ====================================
________ ERROR collecting test_strict_prohibits_unregistered_markers.py ________
'unregisteredmark' not found in `markers` configuration option
=========================== short test summary info ============================
ERROR test_strict_prohibits_unregistered_markers.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.11s ===============================
____________________ test_mark_option[xyz-expected_passed0] ____________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_mark_option0
collected 2 items / 1 deselected / 1 selected
test_mark_option.py . [100%]
======================= 1 passed, 1 deselected in 0.01s ========================
_______________ test_mark_option[((( xyz)) )-expected_passed1] _______________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_mark_option1
collected 2 items / 1 deselected / 1 selected
test_mark_option.py . [100%]
======================= 1 passed, 1 deselected in 0.01s ========================
________________ test_mark_option[not not xyz-expected_passed2] ________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_mark_option2
collected 2 items / 1 deselected / 1 selected
test_mark_option.py . [100%]
======================= 1 passed, 1 deselected in 0.01s ========================
_______________ test_mark_option[xyz and xyz2-expected_passed3] ________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_mark_option3
collected 2 items / 2 deselected
============================ 2 deselected in 0.01s =============================
___________________ test_mark_option[xyz2-expected_passed4] ____________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_mark_option4
collected 2 items / 1 deselected / 1 selected
test_mark_option.py . [100%]
======================= 1 passed, 1 deselected in 0.01s ========================
________________ test_mark_option[xyz or xyz2-expected_passed5] ________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_mark_option5
collected 2 items
test_mark_option.py .. [100%]
============================== 2 passed in 0.01s ===============================
_____________ test_mark_option_custom[interface-expected_passed0] ______________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_mark_option_custom0
collected 2 items / 1 deselected / 1 selected
test_mark_option_custom.py . [100%]
======================= 1 passed, 1 deselected in 0.01s ========================
___________ test_mark_option_custom[not interface-expected_passed1] ____________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_mark_option_custom1
collected 2 items / 1 deselected / 1 selected
test_mark_option_custom.py . [100%]
======================= 1 passed, 1 deselected in 0.01s ========================
____________ test_keyword_option_custom[interface-expected_passed0] ____________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_keyword_option_custom0
collected 5 items / 4 deselected / 1 selected
test_keyword_option_custom.py . [100%]
======================= 1 passed, 4 deselected in 0.01s ========================
__________ test_keyword_option_custom[not interface-expected_passed1] __________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_keyword_option_custom1
collected 5 items / 1 deselected / 4 selected
test_keyword_option_custom.py .... [100%]
======================= 4 passed, 1 deselected in 0.01s ========================
______________ test_keyword_option_custom[pass-expected_passed2] _______________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_keyword_option_custom2
collected 5 items / 4 deselected / 1 selected
test_keyword_option_custom.py . [100%]
======================= 1 passed, 4 deselected in 0.01s ========================
____________ test_keyword_option_custom[not pass-expected_passed3] _____________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_keyword_option_custom3
collected 5 items / 1 deselected / 4 selected
test_keyword_option_custom.py .... [100%]
======================= 4 passed, 1 deselected in 0.01s ========================
_______ test_keyword_option_custom[not not not (pass)-expected_passed4] ________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_keyword_option_custom4
collected 5 items / 1 deselected / 4 selected
test_keyword_option_custom.py .... [100%]
======================= 4 passed, 1 deselected in 0.01s ========================
_____________ test_keyword_option_custom[1 or 2-expected_passed5] ______________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_keyword_option_custom5
collected 5 items / 3 deselected / 2 selected
test_keyword_option_custom.py .. [100%]
======================= 2 passed, 3 deselected in 0.01s ========================
__________ test_keyword_option_custom[not (1 or 2)-expected_passed6] ___________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_keyword_option_custom6
collected 5 items / 2 deselected / 3 selected
test_keyword_option_custom.py ... [100%]
======================= 3 passed, 2 deselected in 0.01s ========================
______________________ test_keyword_option_considers_mark ______________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_keyword_option_considers_mark0
collected 1 item
test_marks_as_keywords.py . [100%]
============================== 1 passed in 0.01s ===============================
____________ test_keyword_option_parametrize[None-expected_passed0] ____________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_keyword_option_parametrize0
collected 3 items / 2 deselected / 1 selected
test_keyword_option_parametrize.py . [100%]
======================= 1 passed, 2 deselected in 0.01s ========================
___________ test_keyword_option_parametrize[[1.3]-expected_passed1] ____________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_keyword_option_parametrize1
collected 3 items / 2 deselected / 1 selected
test_keyword_option_parametrize.py . [100%]
======================= 1 passed, 2 deselected in 0.01s ========================
____________ test_keyword_option_parametrize[2-3-expected_passed2] _____________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_keyword_option_parametrize2
collected 3 items / 2 deselected / 1 selected
test_keyword_option_parametrize.py . [100%]
======================= 1 passed, 2 deselected in 0.01s ========================
_________________________ test_parametrize_with_module _________________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_parametrize_with_module0
collected 1 item
test_parametrize_with_module.py . [100%]
============================== 1 passed in 0.01s ===============================
________________ test_parametrized_collected_from_command_line _________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_parametrized_collected_from_command_line0
collected 3 items
test_parametrized_collected_from_command_line.py ... [100%]
============================== 3 passed in 0.01s ===============================
__________________ test_parametrized_collect_with_wrong_args ___________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_parametrized_collect_with_wrong_args0
collected 0 items / 1 error
==================================== ERRORS ====================================
________ ERROR collecting test_parametrized_collect_with_wrong_args.py _________
test_parametrized_collect_with_wrong_args.py::test_func: in "parametrize" the number of names (2):
['foo', 'bar']
must be equal to the number of values (3):
(1, 2, 3)
=========================== short test summary info ============================
ERROR test_parametrized_collect_with_wrong_args.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.09s ===============================
________________________ test_parametrized_with_kwargs _________________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_parametrized_with_kwargs0
collected 4 items
test_parametrized_with_kwargs.py .... [100%]
============================== 4 passed in 0.02s ===============================
__________________________ test_parametrize_iterator ___________________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_parametrize_iterator0
collected 3 items
test_parametrize_iterator.py ... [100%]
============================== 3 passed in 0.01s ===============================
___________________ TestFunctional.test_merging_markers_deep ___________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_merging_markers_deep0
collected 2 items
<Module test_merging_markers_deep.py>
<Class TestA>
<Function test_b>
<Class TestC>
<Function test_d>
============================ no tests ran in 0.01s =============================
<Function test_b> <NodeKeywords for node <Function test_b>>
<Function test_d> <NodeKeywords for node <Function test_d>>
____ TestFunctional.test_mark_decorator_subclass_does_not_propagate_to_base ____
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_mark_decorator_subclass_does_not_propagate_to_base0
collected 2 items
<Module test_mark_decorator_subclass_does_not_propagate_to_base.py>
<Class Test1>
<Function test_foo>
<Class Test2>
<Function test_bar>
============================ no tests ran in 0.01s =============================
__________ TestFunctional.test_mark_should_not_pass_to_siebling_class __________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_mark_should_not_pass_to_siebling_class0
collected 3 items
<Module test_mark_should_not_pass_to_siebling_class.py>
<Class TestBase>
<Function test_foo>
<Class TestSub>
<Function test_foo>
<Class TestOtherSub>
<Function test_foo>
============================ no tests ran in 0.01s =============================
[<Function test_foo>, <Function test_foo>, <Function test_foo>] ['test_mark_should_not_pass_to_siebling_class.py::TestBase::test_foo', 'test_mark_should_not_pass_to_siebling_class.py::TestSub::test_foo', 'test_mark_should_not_pass_to_siebling_class.py::TestOtherSub::test_foo']
____________ TestFunctional.test_mark_decorator_baseclasses_merged _____________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_mark_decorator_baseclasses_merged0
collected 2 items
<Module test_mark_decorator_baseclasses_merged.py>
<Class Test1>
<Function test_foo>
<Class Test2>
<Function test_bar>
============================ no tests ran in 0.01s =============================
_______________________ TestFunctional.test_mark_closest _______________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_mark_closest0
collected 2 items
<Module test_mark_closest.py>
<Class Test>
<Function test_has_own>
<Function test_has_inherited>
============================ no tests ran in 0.01s =============================
__________________ TestFunctional.test_mark_with_wrong_marker __________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_mark_with_wrong_marker0
collected 0 items / 1 error
==================================== ERRORS ====================================
_______________ ERROR collecting test_mark_with_wrong_marker.py ________________
/home/swe-bench/pytest-dev__pytest/src/_pytest/runner.py:286: in from_call
result = func() # type: Optional[_T]
/home/swe-bench/pytest-dev__pytest/src/_pytest/runner.py:316: in <lambda>
call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
/home/swe-bench/pytest-dev__pytest/src/_pytest/python.py:488: in collect
self._inject_setup_module_fixture()
/home/swe-bench/pytest-dev__pytest/src/_pytest/python.py:501: in _inject_setup_module_fixture
self.obj, ("setUpModule", "setup_module")
/home/swe-bench/pytest-dev__pytest/src/_pytest/python.py:293: in obj
self.own_markers.extend(get_unpacked_marks(self.obj))
/home/swe-bench/pytest-dev__pytest/src/_pytest/mark/structures.py:352: in get_unpacked_marks
return normalize_mark_list(mark_list)
/home/swe-bench/pytest-dev__pytest/src/_pytest/mark/structures.py:367: in normalize_mark_list
raise TypeError("got {!r} instead of Mark".format(mark))
E TypeError: got <class 'test_mark_with_wrong_marker.pytestmark'> instead of Mark
=========================== short test summary info ============================
ERROR test_mark_with_wrong_marker.py - TypeError: got <class 'test_mark_with_...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.18s ===============================
_______________ TestFunctional.test_mark_dynamically_in_funcarg ________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_mark_dynamically_in_funcarg0
collected 1 item
test_mark_dynamically_in_funcarg.py . [100%]
keyword: {'hello': 1, 'test_func': 1, 'test_mark_dynamically_in_funcarg0': 1, 'test_mark_dynamically_in_funcarg.py': 1}
============================== 1 passed in 0.01s ===============================
____________ TestFunctional.test_no_marker_match_on_unmarked_names _____________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_no_marker_match_on_unmarked_names0
collected 2 items / 2 deselected
============================ 2 deselected in 0.01s =============================
__________________ TestFunctional.test_keywords_at_node_level __________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_keywords_at_node_level0
collected 1 item
test_keywords_at_node_level.py . [100%]
============================== 1 passed in 0.01s ===============================
________________ TestFunctional.test_keyword_added_for_session _________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_keyword_added_for_session0
collected 1 item
test_keyword_added_for_session.py . [100%]
============================== 1 passed in 0.01s ===============================
___________________ TestFunctional.test_mark_from_parameters ___________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_mark_from_parameters0
collected 1 item
test_mark_from_parameters.py s [100%]
============================== 1 skipped in 0.01s ==============================
_________________ TestFunctional.test_reevaluate_dynamic_expr __________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_reevaluate_dynamic_expr0
collected 2 items
test_reevaluate_dynamic_expr1.py s [ 50%]
test_reevaluate_dynamic_expr2.py . [100%]
========================= 1 passed, 1 skipped in 0.02s =========================
___________________ TestKeywordSelection.test_select_simple ____________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_select_simple0
collected 2 items / 1 deselected / 1 selected
test_select_simple.py F
=================================== FAILURES ===================================
___________________________________ test_one ___________________________________
def test_one():
> assert 0
E assert 0
test_select_simple.py:2: AssertionError
=========================== short test summary info ============================
FAILED test_select_simple.py::test_one - assert 0
======================= 1 failed, 1 deselected in 0.01s ========================
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_select_simple0
collected 2 items / 1 deselected / 1 selected
test_select_simple.py F
=================================== FAILURES ===================================
___________________________________ test_one ___________________________________
def test_one():
> assert 0
E assert 0
test_select_simple.py:2: AssertionError
=========================== short test summary info ============================
FAILED test_select_simple.py::test_one - assert 0
======================= 1 failed, 1 deselected in 0.01s ========================
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_select_simple0
collected 2 items / 1 deselected / 1 selected
test_select_simple.py F
=================================== FAILURES ===================================
__________________________ TestClass.test_method_one ___________________________
self = <test_select_simple.TestClass object at 0x7376f584c2b0>
def test_method_one(self):
> assert 42 == 43
E assert 42 == 43
test_select_simple.py:5: AssertionError
=========================== short test summary info ============================
FAILED test_select_simple.py::TestClass::test_method_one - assert 42 == 43
======================= 1 failed, 1 deselected in 0.01s ========================
_____________ TestKeywordSelection.test_select_extra_keywords[xxx] _____________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_select_extra_keywords0
collected 2 items / 1 deselected / 1 selected
test_select.py .
======================= 1 passed, 1 deselected in 0.01s ========================
keyword 'xxx'
_______ TestKeywordSelection.test_select_extra_keywords[xxx and test_2] ________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_select_extra_keywords1
collected 2 items / 1 deselected / 1 selected
test_select.py .
======================= 1 passed, 1 deselected in 0.01s ========================
keyword 'xxx and test_2'
__________ TestKeywordSelection.test_select_extra_keywords[TestClass] __________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_select_extra_keywords2
collected 2 items / 1 deselected / 1 selected
test_select.py .
======================= 1 passed, 1 deselected in 0.01s ========================
keyword 'TestClass'
_____ TestKeywordSelection.test_select_extra_keywords[xxx and not test_1] ______
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_select_extra_keywords3
collected 2 items / 1 deselected / 1 selected
test_select.py .
======================= 1 passed, 1 deselected in 0.01s ========================
keyword 'xxx and not test_1'
____ TestKeywordSelection.test_select_extra_keywords[TestClass and test_2] _____
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_select_extra_keywords4
collected 2 items / 1 deselected / 1 selected
test_select.py .
======================= 1 passed, 1 deselected in 0.01s ========================
keyword 'TestClass and test_2'
_ TestKeywordSelection.test_select_extra_keywords[xxx and TestClass and test_2] _
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_select_extra_keywords5
collected 2 items / 1 deselected / 1 selected
test_select.py .
======================= 1 passed, 1 deselected in 0.01s ========================
keyword 'xxx and TestClass and test_2'
___________________ TestKeywordSelection.test_select_starton ___________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_select_starton0
collected 3 items / 1 deselected / 2 selected
test_threepass.py .. [100%]
=============================== warnings summary ===============================
/home/swe-bench/pytest-dev__pytest/src/_pytest/mark/__init__.py:259
/home/swe-bench/pytest-dev__pytest/src/_pytest/mark/__init__.py:259: PytestDeprecationWarning: The `-k 'expr:'` syntax to -k is deprecated.
Please open an issue if you use this and want a replacement.
deselect_by_keyword(items, config)
-- Docs: https://docs.pytest.org/en/latest/warnings.html
================== 2 passed, 1 deselected, 1 warning in 0.01s ==================
___________________ TestKeywordSelection.test_keyword_extra ____________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_keyword_extra0
collected 1 item
test_keyword_extra.py F [100%]
=================================== FAILURES ===================================
___________________________________ test_one ___________________________________
def test_one():
> assert 0
E assert 0
test_keyword_extra.py:2: AssertionError
=========================== short test summary info ============================
FAILED test_keyword_extra.py::test_one - assert 0
============================== 1 failed in 0.01s ===============================
________________ TestKeywordSelection.test_no_magic_values[__] _________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_no_magic_values0
collected 1 item / 1 deselected
============================ 1 deselected in 0.01s =============================
_________________ TestKeywordSelection.test_no_magic_values[+] _________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_no_magic_values1
collected 1 item / 1 deselected
============================ 1 deselected in 0.01s =============================
________________ TestKeywordSelection.test_no_magic_values[..] _________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_no_magic_values2
collected 1 item / 1 deselected
============================ 1 deselected in 0.01s =============================
_______ TestKeywordSelection.test_no_match_directories_outside_the_suite _______
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_no_match_directories_outside_the_suite0
collected 2 items
<Package tests>
<Module test_foo.py>
<Function test_aaa>
<Function test_ddd>
============================ no tests ran in 0.01s =============================
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_no_match_directories_outside_the_suite0
collected 2 items / 2 deselected
============================ 2 deselected in 0.01s =============================
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_no_match_directories_outside_the_suite0
collected 2 items / 1 deselected / 1 selected
<Package tests>
<Module test_foo.py>
<Function test_ddd>
============================ 1 deselected in 0.01s =============================
____________________ test_parameterset_for_fail_at_collect _____________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_parameterset_for_fail_at_collect0, configfile: tox.ini
collected 0 items / 1 error
==================================== ERRORS ====================================
__________ ERROR collecting test_parameterset_for_fail_at_collect.py ___________
Empty parameter set in 'test' at line 3
=========================== short test summary info ============================
ERROR test_parameterset_for_fail_at_collect.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.09s ===============================
________________________ test_mark_expressions_no_smear ________________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_mark_expressions_no_smear0
collected 2 items / 1 deselected / 1 selected
test_mark_expressions_no_smear.py . [100%]
======================= 1 passed, 1 deselected in 0.02s ========================
________________________ test_markers_from_parametrize _________________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_markers_from_parametrize0
collected 4 items
test_markers_from_parametrize.py .... [100%]
============================== 4 passed in 0.02s ===============================
___________ test_marker_expr_eval_failure_handling[NOT internal_err] ___________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_marker_expr_eval_failure_handling0
collected 1 item
============================ no tests ran in 0.01s =============================
----------------------------- Captured stderr call -----------------------------
ERROR: Wrong expression passed to '-m': NOT internal_err: at column 5: expected end of input; got identifier
__________ test_marker_expr_eval_failure_handling[NOT (internal_err)] __________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_marker_expr_eval_failure_handling1
collected 1 item
============================ no tests ran in 0.01s =============================
----------------------------- Captured stderr call -----------------------------
ERROR: Wrong expression passed to '-m': NOT (internal_err): at column 5: expected end of input; got left parenthesis
________________ test_marker_expr_eval_failure_handling[bogus/] ________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-5.4.1.dev522+g7b77fc086, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_marker_expr_eval_failure_handling2
collected 1 item
============================ no tests ran in 0.01s =============================
----------------------------- Captured stderr call -----------------------------
ERROR: Wrong expression passed to '-m': bogus/: at column 6: unexpected character "/"
=========================== short test summary info ============================
PASSED testing/test_mark.py::TestMark::test_pytest_exists_in_namespace_all[py.test-mark]
PASSED testing/test_mark.py::TestMark::test_pytest_exists_in_namespace_all[py.test-param]
PASSED testing/test_mark.py::TestMark::test_pytest_exists_in_namespace_all[pytest-mark]
PASSED testing/test_mark.py::TestMark::test_pytest_exists_in_namespace_all[pytest-param]
PASSED testing/test_mark.py::TestMark::test_pytest_mark_notcallable
PASSED testing/test_mark.py::TestMark::test_mark_with_param
PASSED testing/test_mark.py::TestMark::test_pytest_mark_name_starts_with_underscore
PASSED testing/test_mark.py::TestMarkDecorator::test__eq__[lhs0-rhs0-True]
PASSED testing/test_mark.py::TestMarkDecorator::test__eq__[lhs1-rhs1-False]
PASSED testing/test_mark.py::TestMarkDecorator::test__eq__[lhs2-bar-False]
PASSED testing/test_mark.py::TestMarkDecorator::test__eq__[foo-rhs3-False]
PASSED testing/test_mark.py::TestMarkDecorator::test_aliases
PASSED testing/test_mark.py::test_addmarker_order
PASSED testing/test_mark.py::test_pytest_param_id_requires_string
PASSED testing/test_mark.py::test_pytest_param_id_allows_none_or_string[None]
PASSED testing/test_mark.py::test_pytest_param_id_allows_none_or_string[hello world]
PASSED testing/test_mark.py::test_marked_class_run_twice
PASSED testing/test_mark.py::test_ini_markers
PASSED testing/test_mark.py::test_markers_option
PASSED testing/test_mark.py::test_ini_markers_whitespace
PASSED testing/test_mark.py::test_marker_without_description
PASSED testing/test_mark.py::test_markers_option_with_plugin_in_current_dir
PASSED testing/test_mark.py::test_mark_on_pseudo_function
PASSED testing/test_mark.py::test_strict_prohibits_unregistered_markers[--strict-markers]
PASSED testing/test_mark.py::test_strict_prohibits_unregistered_markers[--strict]
PASSED testing/test_mark.py::test_mark_option[xyz-expected_passed0]
PASSED testing/test_mark.py::test_mark_option[((( xyz)) )-expected_passed1]
PASSED testing/test_mark.py::test_mark_option[not not xyz-expected_passed2]
PASSED testing/test_mark.py::test_mark_option[xyz and xyz2-expected_passed3]
PASSED testing/test_mark.py::test_mark_option[xyz2-expected_passed4]
PASSED testing/test_mark.py::test_mark_option[xyz or xyz2-expected_passed5]
PASSED testing/test_mark.py::test_mark_option_custom[interface-expected_passed0]
PASSED testing/test_mark.py::test_mark_option_custom[not interface-expected_passed1]
PASSED testing/test_mark.py::test_keyword_option_custom[interface-expected_passed0]
PASSED testing/test_mark.py::test_keyword_option_custom[not interface-expected_passed1]
PASSED testing/test_mark.py::test_keyword_option_custom[pass-expected_passed2]
PASSED testing/test_mark.py::test_keyword_option_custom[not pass-expected_passed3]
PASSED testing/test_mark.py::test_keyword_option_custom[not not not (pass)-expected_passed4]
PASSED testing/test_mark.py::test_keyword_option_custom[1 or 2-expected_passed5]
PASSED testing/test_mark.py::test_keyword_option_custom[not (1 or 2)-expected_passed6]
PASSED testing/test_mark.py::test_keyword_option_considers_mark
PASSED testing/test_mark.py::test_keyword_option_parametrize[None-expected_passed0]
PASSED testing/test_mark.py::test_keyword_option_parametrize[[1.3]-expected_passed1]
PASSED testing/test_mark.py::test_keyword_option_parametrize[2-3-expected_passed2]
PASSED testing/test_mark.py::test_parametrize_with_module