-
Notifications
You must be signed in to change notification settings - Fork 24
/
pytest-dev__pytest-5103.SWE-bench_Lite_golden.eval.log
813 lines (681 loc) · 47.7 KB
/
pytest-dev__pytest-5103.SWE-bench_Lite_golden.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
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Task Metadata:
- Instance ID: pytest-dev__pytest-5103
- Testbed: pytest-dev__pytest__4.5
- Evaluation Model: SWE-bench_Lite_golden
- Python version: Python 3.11.8
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Command: git -c advice.detachedHead=false checkout 10ca84ffc56c2dd2d9dc4bd71b7b898e083500cd
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Std. Output:
Previous HEAD position was 693c3b7f6 Merge pull request #5349 from asottile/mm
HEAD is now at 10ca84ffc Merge pull request #5119 from blueyed/reportopts-A-order
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Return Code: 0
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Command: git apply -v /home/swe-bench/temp_pytest-dev__pytest-5103_pred_try.patch
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Std. Output:
Checking patch src/_pytest/assertion/rewrite.py...
Hunk #1 succeeded at 968 (offset 4 lines).
Hunk #2 succeeded at 993 (offset 4 lines).
Hunk #3 succeeded at 1024 (offset 4 lines).
Applied patch src/_pytest/assertion/rewrite.py cleanly.
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Return Code: 0
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Apply patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Command: git apply -v -R /home/swe-bench/temp_pytest-dev__pytest-5103_pred_try.patch
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Std. Output:
Checking patch src/_pytest/assertion/rewrite.py...
Hunk #1 succeeded at 968 (offset -4 lines).
Hunk #2 succeeded at 991 (offset -4 lines).
Hunk #3 succeeded at 1001 (offset -4 lines).
Applied patch src/_pytest/assertion/rewrite.py cleanly.
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Return Code: 0
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Revert patch successful (pred_try)
>>>>> Applied Patch (pred_try)
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Command: git apply -v /home/swe-bench/temp_pytest-dev__pytest-5103_pred.patch
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Std. Output:
Checking patch src/_pytest/assertion/rewrite.py...
Hunk #1 succeeded at 968 (offset 4 lines).
Hunk #2 succeeded at 993 (offset 4 lines).
Hunk #3 succeeded at 1024 (offset 4 lines).
Applied patch src/_pytest/assertion/rewrite.py cleanly.
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Return Code: 0
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Apply patch successful (pred)
>>>>> Applied Patch (pred)
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Command: git restore testing/test_assertrewrite.py
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": true, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Std. Output:
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Return Code: 0
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Command: git apply -v /home/swe-bench/temp_pytest-dev__pytest-5103_test.patch
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2}
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Std. Output:
Checking patch testing/test_assertrewrite.py...
Applied patch testing/test_assertrewrite.py cleanly.
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Return Code: 0
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Apply patch successful (test)
>>>>> Applied Patch (test)
Test Script: conda run -n pytest-dev__pytest__4.5 pytest -rA testing/test_assertrewrite.py;
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Command: conda run -n pytest-dev__pytest__4.5 pytest -rA testing/test_assertrewrite.py
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Subprocess args: {"cwd": "/home/swe-bench/pytest-dev__pytest", "check": false, "shell": false, "universal_newlines": true, "stdout": -1, "stderr": -2, "timeout": 900}
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Std. Output:
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /home/swe-bench/pytest-dev__pytest, inifile: tox.ini
collected 72 items
testing/test_assertrewrite.py ..............................FF.......... [ 58%]
......s..ssss................. [100%]
=================================== FAILURES ===================================
__________________ TestAssertionRewrite.test_unroll_generator __________________
self = <test_assertrewrite.TestAssertionRewrite object at 0x7f3a5912b3d0>
testdir = <Testdir local('/tmp/pytest-of-swe-bench/pytest-0/test_unroll_generator0')>
def test_unroll_generator(self, testdir):
testdir.makepyfile(
"""
def check_even(num):
if num % 2 == 0:
return True
return False
def test_generator():
odd_list = list(range(1,9,2))
assert all(check_even(num) for num in odd_list)"""
)
result = testdir.runpytest()
> result.stdout.fnmatch_lines(["*assert False*", "*where False = check_even(1)*"])
E Failed: nomatch: '*assert False*'
E and: '============================= test session starts =============================='
E and: 'platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1'
E and: 'rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_unroll_generator0'
E and: 'collected 1 item'
E and: ''
E and: 'test_unroll_generator.py F [100%]'
E and: ''
E and: '=================================== FAILURES ==================================='
E and: '________________________________ test_generator ________________________________'
E and: ''
E and: ' def test_generator():'
E and: ' odd_list = list(range(1,9,2))'
E and: '> assert all(check_even(num) for num in odd_list)'
E and: 'E AssertionError'
E and: ''
E and: 'test_unroll_generator.py:8: AssertionError'
E and: '=========================== 1 failed in 0.01 seconds ==========================='
E and: ''
E remains unmatched: '*assert False*'
/home/swe-bench/pytest-dev__pytest/testing/test_assertrewrite.py:693: Failed
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_unroll_generator0
collected 1 item
test_unroll_generator.py F [100%]
=================================== FAILURES ===================================
________________________________ test_generator ________________________________
def test_generator():
odd_list = list(range(1,9,2))
> assert all(check_even(num) for num in odd_list)
E AssertionError
test_unroll_generator.py:8: AssertionError
=========================== 1 failed in 0.01 seconds ===========================
_____________ TestAssertionRewrite.test_unroll_list_comprehension ______________
self = <test_assertrewrite.TestAssertionRewrite object at 0x7f3a592c94c0>
testdir = <Testdir local('/tmp/pytest-of-swe-bench/pytest-0/test_unroll_list_comprehension0')>
def test_unroll_list_comprehension(self, testdir):
testdir.makepyfile(
"""
def check_even(num):
if num % 2 == 0:
return True
return False
def test_list_comprehension():
odd_list = list(range(1,9,2))
assert all([check_even(num) for num in odd_list])"""
)
result = testdir.runpytest()
> result.stdout.fnmatch_lines(["*assert False*", "*where False = check_even(1)*"])
E Failed: nomatch: '*assert False*'
E and: '============================= test session starts =============================='
E and: 'platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1'
E and: 'rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_unroll_list_comprehension0'
E and: 'collected 1 item'
E and: ''
E and: 'test_unroll_list_comprehension.py F [100%]'
E and: ''
E and: '=================================== FAILURES ==================================='
E and: '___________________________ test_list_comprehension ____________________________'
E and: ''
E and: ' def test_list_comprehension():'
E and: ' odd_list = list(range(1,9,2))'
E and: '> assert all([check_even(num) for num in odd_list])'
E and: 'E AssertionError'
E and: ''
E and: 'test_unroll_list_comprehension.py:8: AssertionError'
E and: '=========================== 1 failed in 0.01 seconds ==========================='
E and: ''
E remains unmatched: '*assert False*'
/home/swe-bench/pytest-dev__pytest/testing/test_assertrewrite.py:708: Failed
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_unroll_list_comprehension0
collected 1 item
test_unroll_list_comprehension.py F [100%]
=================================== FAILURES ===================================
___________________________ test_list_comprehension ____________________________
def test_list_comprehension():
odd_list = list(range(1,9,2))
> assert all([check_even(num) for num in odd_list])
E AssertionError
test_unroll_list_comprehension.py:8: AssertionError
=========================== 1 failed in 0.01 seconds ===========================
==================================== PASSES ====================================
________________ TestAssertionRewrite.test_dont_rewrite_plugin _________________
----------------------------- Captured stdout call -----------------------------
running: /home/swe-bench/miniconda3/envs/pytest-dev__pytest__4.5/bin/python -mpytest --basetemp=/tmp/pytest-of-swe-bench/pytest-0/test_dont_rewrite_plugin0/runpytest-0
in: /tmp/pytest-of-swe-bench/pytest-0/test_dont_rewrite_plugin0
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_dont_rewrite_plugin0
collected 1 item
test_foo.py . [100%]
=========================== 1 passed in 0.02 seconds ===========================
_________________ TestAssertionRewrite.test_assertion_message __________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_assertion_message0
collected 1 item
test_assertion_message.py F [100%]
=================================== FAILURES ===================================
___________________________________ test_foo ___________________________________
def test_foo():
> assert 1 == 2, "The failure message"
E AssertionError: The failure message
E assert 1 == 2
test_assertion_message.py:2: AssertionError
=========================== 1 failed in 0.01 seconds ===========================
____________ TestAssertionRewrite.test_assertion_message_multiline _____________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_assertion_message_multiline0
collected 1 item
test_assertion_message_multiline.py F [100%]
=================================== FAILURES ===================================
___________________________________ test_foo ___________________________________
def test_foo():
> assert 1 == 2, "A multiline\nfailure message"
E AssertionError: A multiline
E failure message
E assert 1 == 2
test_assertion_message_multiline.py:2: AssertionError
=========================== 1 failed in 0.01 seconds ===========================
______________ TestAssertionRewrite.test_assertion_message_tuple _______________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_assertion_message_tuple0
collected 1 item
test_assertion_message_tuple.py F [100%]
=================================== FAILURES ===================================
___________________________________ test_foo ___________________________________
def test_foo():
> assert 1 == 2, (1, 2)
E AssertionError: (1, 2)
E assert 1 == 2
test_assertion_message_tuple.py:2: AssertionError
=========================== 1 failed in 0.01 seconds ===========================
_______________ TestAssertionRewrite.test_assertion_message_expr _______________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_assertion_message_expr0
collected 1 item
test_assertion_message_expr.py F [100%]
=================================== FAILURES ===================================
___________________________________ test_foo ___________________________________
def test_foo():
> assert 1 == 2, 1 + 2
E AssertionError: 3
E assert 1 == 2
test_assertion_message_expr.py:2: AssertionError
=========================== 1 failed in 0.01 seconds ===========================
______________ TestAssertionRewrite.test_assertion_message_escape ______________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_assertion_message_escape0
collected 1 item
test_assertion_message_escape.py F [100%]
=================================== FAILURES ===================================
___________________________________ test_foo ___________________________________
def test_foo():
> assert 1 == 2, 'To be escaped: %'
E AssertionError: To be escaped: %
E assert 1 == 2
test_assertion_message_escape.py:2: AssertionError
=========================== 1 failed in 0.01 seconds ===========================
______________ TestAssertionRewrite.test_assertion_messages_bytes ______________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_assertion_messages_bytes0
collected 1 item
test_assertion_messages_bytes.py F [100%]
=================================== FAILURES ===================================
_____________________________ test_bytes_assertion _____________________________
def test_bytes_assertion():
> assert False, b'ohai!'
E AssertionError: b'ohai!'
E assert False
test_assertion_messages_bytes.py:2: AssertionError
=========================== 1 failed in 0.01 seconds ===========================
_______________ TestAssertionRewrite.test_at_operator_issue1290 ________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_at_operator_issue12900
collected 1 item
test_at_operator_issue1290.py . [100%]
=========================== 1 passed in 0.01 seconds ===========================
______________ TestAssertionRewrite.test_starred_with_side_effect ______________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_starred_with_side_effect0
collected 1 item
test_starred_with_side_effect.py . [100%]
=========================== 1 passed in 0.01 seconds ===========================
______________________ TestAssertionRewrite.test_for_loop ______________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_for_loop0
collected 1 item
test_for_loop.py F [100%]
=================================== FAILURES ===================================
________________________________ test_for_loop _________________________________
def test_for_loop():
odd_list = list(range(1,9,2))
for num in odd_list:
> assert check_even(num)
E assert False
E + where False = check_even(1)
test_for_loop.py:9: AssertionError
=========================== 1 failed in 0.02 seconds ===========================
__________________ TestRewriteOnImport.test_pycache_is_a_file __________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_pycache_is_a_file0
collected 1 item
test_pycache_is_a_file.py . [100%]
=========================== 1 passed in 0.01 seconds ===========================
_________________ TestRewriteOnImport.test_pycache_is_readonly _________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_pycache_is_readonly0
collected 1 item
test_pycache_is_readonly.py . [100%]
=========================== 1 passed in 0.00 seconds ===========================
_______________________ TestRewriteOnImport.test_zipfile _______________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_zipfile0
collected 0 items
========================= no tests ran in 0.01 seconds =========================
______________________ TestRewriteOnImport.test_readonly _______________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_readonly0
collected 1 item
testing/test_readonly.py . [100%]
=========================== 1 passed in 0.00 seconds ===========================
_________________ TestRewriteOnImport.test_dont_write_bytecode _________________
----------------------------- Captured stdout call -----------------------------
running: /home/swe-bench/miniconda3/envs/pytest-dev__pytest__4.5/bin/python -mpytest --basetemp=/tmp/pytest-of-swe-bench/pytest-0/test_dont_write_bytecode0/runpytest-0
in: /tmp/pytest-of-swe-bench/pytest-0/test_dont_write_bytecode0
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_dont_write_bytecode0
collected 1 item
test_dont_write_bytecode.py . [100%]
=========================== 1 passed in 0.01 seconds ===========================
__________________ TestRewriteOnImport.test_orphaned_pyc_file __________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_orphaned_pyc_file0
collected 1 item
test_orphaned_pyc_file.py . [100%]
=========================== 1 passed in 0.08 seconds ===========================
_____________________ TestRewriteOnImport.test_pyc_vs_pyo ______________________
----------------------------- Captured stdout call -----------------------------
running: /home/swe-bench/miniconda3/envs/pytest-dev__pytest__4.5/bin/python -mpytest --basetemp=/tmp/pytest-of-swe-bench/pytest-0/test_pyc_vs_pyo0/runpytest-1 --basetemp=/tmp/pytest-of-swe-bench/pytest-0/test_pyc_vs_pyo0/runpytest-0
in: /tmp/pytest-of-swe-bench/pytest-0/test_pyc_vs_pyo0
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_pyc_vs_pyo0
collected 1 item
test_pyc_vs_pyo.py . [100%]
=========================== 1 passed in 0.03 seconds ===========================
running: /home/swe-bench/miniconda3/envs/pytest-dev__pytest__4.5/bin/python -mpytest --basetemp=/tmp/pytest-of-swe-bench/pytest-0/test_pyc_vs_pyo0/runpytest-2 --basetemp=/tmp/pytest-of-swe-bench/pytest-0/test_pyc_vs_pyo0/runpytest-0
in: /tmp/pytest-of-swe-bench/pytest-0/test_pyc_vs_pyo0
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_pyc_vs_pyo0
collected 1 item
test_pyc_vs_pyo.py F [100%]
=================================== FAILURES ===================================
________________________________ test_optimized ________________________________
def test_optimized():
"hello"
> assert test_optimized.__doc__ is None
E AssertionError: assert 'hello' is None
E + where 'hello' = test_optimized.__doc__
test_pyc_vs_pyo.py:4: AssertionError
=========================== 1 failed in 0.03 seconds ===========================
----------------------------- Captured stderr call -----------------------------
WARNING: assertions not in test modules or plugins will be ignored because assert statements are not executed by the underlying Python interpreter (are you using python -O?)
_______________________ TestRewriteOnImport.test_package _______________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_package0
collected 1 item
pkg/test_blah.py . [100%]
=========================== 1 passed in 0.02 seconds ===========================
_________________ TestRewriteOnImport.test_translate_newlines __________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_translate_newlines0
collected 1 item
test_newlines.py . [100%]
=========================== 1 passed in 0.01 seconds ===========================
______________ TestRewriteOnImport.test_package_without__init__py ______________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_package_without__init__py0
collected 0 items
========================= no tests ran in 0.01 seconds =========================
___________________ TestRewriteOnImport.test_rewrite_warning ___________________
----------------------------- Captured stdout call -----------------------------
running: /home/swe-bench/miniconda3/envs/pytest-dev__pytest__4.5/bin/python -mpytest --basetemp=/tmp/pytest-of-swe-bench/pytest-0/test_rewrite_warning0/runpytest-0
in: /tmp/pytest-of-swe-bench/pytest-0/test_rewrite_warning0
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_rewrite_warning0
collected 0 items
=============================== warnings summary ===============================
conftest.py:2
/tmp/pytest-of-swe-bench/pytest-0/test_rewrite_warning0/conftest.py:2: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: _pytest
pytest.register_assert_rewrite("_pytest")
-- Docs: https://docs.pytest.org/en/latest/warnings.html
========================== 1 warnings in 0.00 seconds ==========================
________ TestRewriteOnImport.test_rewrite_module_imported_from_conftest ________
----------------------------- Captured stdout call -----------------------------
running: /home/swe-bench/miniconda3/envs/pytest-dev__pytest__4.5/bin/python -mpytest --basetemp=/tmp/pytest-of-swe-bench/pytest-0/test_rewrite_module_imported_from_conftest0/runpytest-0
in: /tmp/pytest-of-swe-bench/pytest-0/test_rewrite_module_imported_from_conftest0
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_rewrite_module_imported_from_conftest0
collected 1 item
test_rewrite_module_imported.py . [100%]
=========================== 1 passed in 0.01 seconds ===========================
________ TestRewriteOnImport.test_rewrite_warning_using_pytest_plugins _________
----------------------------- Captured stdout call -----------------------------
running: /home/swe-bench/miniconda3/envs/pytest-dev__pytest__4.5/bin/python -mpytest --basetemp=/tmp/pytest-of-swe-bench/pytest-0/test_rewrite_warning_using_pytest_plugins0/runpytest-0
in: /tmp/pytest-of-swe-bench/pytest-0/test_rewrite_warning_using_pytest_plugins0
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_rewrite_warning_using_pytest_plugins0
collected 1 item
test_rewrite_warning_pytest_plugins.py . [100%]
=========================== 1 passed in 0.01 seconds ===========================
____ TestRewriteOnImport.test_rewrite_warning_using_pytest_plugins_env_var _____
----------------------------- Captured stdout call -----------------------------
running: /home/swe-bench/miniconda3/envs/pytest-dev__pytest__4.5/bin/python -mpytest --basetemp=/tmp/pytest-of-swe-bench/pytest-0/test_rewrite_warning_using_pytest_plugins_env_var0/runpytest-0
in: /tmp/pytest-of-swe-bench/pytest-0/test_rewrite_warning_using_pytest_plugins_env_var0
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_rewrite_warning_using_pytest_plugins_env_var0
collected 1 item
test_rewrite_warning_using_pytest_plugins_env_var.py . [100%]
=========================== 1 passed in 0.01 seconds ===========================
___ TestAssertionRewriteHookDetails.test_loader_is_package_false_for_module ____
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_loader_is_package_false_for_module0
collected 1 item
test_fun.py . [100%]
=========================== 1 passed in 0.06 seconds ===========================
___ TestAssertionRewriteHookDetails.test_loader_is_package_true_for_package ____
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_loader_is_package_true_for_package0
collected 3 items
test_fun.py ... [100%]
=========================== 3 passed in 0.03 seconds ===========================
__________ TestAssertionRewriteHookDetails.test_sys_meta_path_munged ___________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_sys_meta_path_munged0
collected 1 item
test_sys_meta_path_munged.py . [100%]
=========================== 1 passed in 0.01 seconds ===========================
______ TestAssertionRewriteHookDetails.test_resources_provider_for_loader ______
----------------------------- Captured stdout call -----------------------------
running: /home/swe-bench/miniconda3/envs/pytest-dev__pytest__4.5/bin/python -mpytest --basetemp=/tmp/pytest-of-swe-bench/pytest-0/test_resources_provider_for_loader0/runpytest-0
in: /tmp/pytest-of-swe-bench/pytest-0/test_resources_provider_for_loader0
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_resources_provider_for_loader0
collected 1 item
testpkg/test_pkg.py . [100%]
=========================== 1 passed in 0.02 seconds ===========================
_____________ TestAssertionRewriteHookDetails.test_reload_is_same ______________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_reload_is_same0, inifile: pytest.ini
collected 1 item
test_fun.py .
=========================== 1 passed in 0.01 seconds ===========================
_____________ TestAssertionRewriteHookDetails.test_reload_reloads ______________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_reload_reloads0, inifile: pytest.ini
collected 1 item
test_fun.py .
=========================== 1 passed in 0.03 seconds ===========================
____________ TestAssertionRewriteHookDetails.test_get_data_support _____________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_get_data_support0
collected 1 item
foo/test_foo.py . [100%]
=========================== 1 passed in 0.01 seconds ===========================
________________________________ test_issue731 _________________________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_issue7310
collected 1 item
test_issue731.py F [100%]
=================================== FAILURES ===================================
________________________________ test_long_repr ________________________________
def test_long_repr():
obj = LongReprWithBraces()
> assert obj.some_method()
E assert False
E + where False = <bound method LongReprWithBraces.some_method of LongReprWithBraces({aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)>()
E + where <bound method LongReprWithBraces.some_method of LongReprWithBraces({aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)> = LongReprWithBraces({aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa).some_method
test_issue731.py:10: AssertionError
=========================== 1 failed in 0.01 seconds ===========================
________________________ TestIssue925.test_simple_case _________________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_simple_case0
collected 1 item
test_simple_case.py F [100%]
=================================== FAILURES ===================================
_____________________________ test_ternary_display _____________________________
def test_ternary_display():
> assert (False == False) == False
E assert (False == False) == False
test_simple_case.py:2: AssertionError
=========================== 1 failed in 0.01 seconds ===========================
_________________________ TestIssue925.test_long_case __________________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_long_case0
collected 1 item
test_long_case.py F [100%]
=================================== FAILURES ===================================
_____________________________ test_ternary_display _____________________________
def test_ternary_display():
> assert False == (False == True) == True
E assert (False == True) == True
test_long_case.py:2: AssertionError
=========================== 1 failed in 0.04 seconds ===========================
_______________________ TestIssue925.test_many_brackets ________________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_many_brackets0
collected 1 item
test_many_brackets.py F [100%]
=================================== FAILURES ===================================
_____________________________ test_ternary_display _____________________________
def test_ternary_display():
> assert True == ((False == True) == True)
E assert True == ((False == True) == True)
test_many_brackets.py:2: AssertionError
=========================== 1 failed in 0.02 seconds ===========================
___________ TestIssue2121.test_rewrite_python_files_contain_subdirs ____________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_rewrite_python_files_contain_subdirs0, inifile: tox.ini
collected 1 item
tests/file.py F [100%]
=================================== FAILURES ===================================
_____________________________ test_simple_failure ______________________________
def test_simple_failure():
> assert 1 + 1 == 3
E assert (1 + 1) == 3
tests/file.py:2: AssertionError
=========================== 1 failed in 0.01 seconds ===========================
_______________________ test_source_mtime_long_long[-1] ________________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_source_mtime_long_long0
collected 1 item
test_source_mtime_long_long.py . [100%]
=========================== 1 passed in 0.01 seconds ===========================
________________________ test_source_mtime_long_long[1] ________________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_source_mtime_long_long1
collected 1 item
test_source_mtime_long_long.py . [100%]
=========================== 1 passed in 0.03 seconds ===========================
___________________ TestEarlyRewriteBailout.test_cwd_changed ___________________
----------------------------- Captured stdout call -----------------------------
============================= test session starts ==============================
platform linux -- Python 3.9.19, pytest-4.5.1.dev148+g693c3b7f6, py-1.11.0, pluggy-0.13.1
rootdir: /tmp/pytest-of-swe-bench/pytest-0/test_cwd_changed0
collected 1 item
test_test.py . [100%]
=========================== 1 passed in 0.02 seconds ===========================
=========================== short test summary info ============================
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_place_initial_imports
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_dont_rewrite
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_name
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_dont_rewrite_if_hasattr_fails
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_assert_already_has_message
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_boolop
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_short_circuit_evaluation
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_unary_op
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_binary_op
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_boolop_percent
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_call
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_attribute
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_comparisons
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_len
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_custom_reprcompare
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_assert_raising_nonzero_in_comparison
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_formatchar
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_custom_repr
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_unroll_expression
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_custom_repr_non_ascii
PASSED testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_read_pyc
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_dont_rewrite_plugin
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_assertion_message
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_assertion_message_multiline
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_assertion_message_tuple
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_assertion_message_expr
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_assertion_message_escape
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_assertion_messages_bytes
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_at_operator_issue1290
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_starred_with_side_effect
PASSED testing/test_assertrewrite.py::TestAssertionRewrite::test_for_loop
PASSED testing/test_assertrewrite.py::TestRewriteOnImport::test_pycache_is_a_file
PASSED testing/test_assertrewrite.py::TestRewriteOnImport::test_pycache_is_readonly
PASSED testing/test_assertrewrite.py::TestRewriteOnImport::test_zipfile
PASSED testing/test_assertrewrite.py::TestRewriteOnImport::test_readonly
PASSED testing/test_assertrewrite.py::TestRewriteOnImport::test_dont_write_bytecode
PASSED testing/test_assertrewrite.py::TestRewriteOnImport::test_orphaned_pyc_file
PASSED testing/test_assertrewrite.py::TestRewriteOnImport::test_pyc_vs_pyo
PASSED testing/test_assertrewrite.py::TestRewriteOnImport::test_package
PASSED testing/test_assertrewrite.py::TestRewriteOnImport::test_translate_newlines
PASSED testing/test_assertrewrite.py::TestRewriteOnImport::test_package_without__init__py
PASSED testing/test_assertrewrite.py::TestRewriteOnImport::test_rewrite_warning
PASSED testing/test_assertrewrite.py::TestRewriteOnImport::test_rewrite_module_imported_from_conftest
PASSED testing/test_assertrewrite.py::TestRewriteOnImport::test_remember_rewritten_modules
PASSED testing/test_assertrewrite.py::TestRewriteOnImport::test_rewrite_warning_using_pytest_plugins
PASSED testing/test_assertrewrite.py::TestRewriteOnImport::test_rewrite_warning_using_pytest_plugins_env_var
PASSED testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_loader_is_package_false_for_module
PASSED testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_loader_is_package_true_for_package
PASSED testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_sys_meta_path_munged
PASSED testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_write_pyc
PASSED testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_resources_provider_for_loader
PASSED testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_reload_is_same
PASSED testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_reload_reloads
PASSED testing/test_assertrewrite.py::TestAssertionRewriteHookDetails::test_get_data_support
PASSED testing/test_assertrewrite.py::test_issue731
PASSED testing/test_assertrewrite.py::TestIssue925::test_simple_case
PASSED testing/test_assertrewrite.py::TestIssue925::test_long_case
PASSED testing/test_assertrewrite.py::TestIssue925::test_many_brackets
PASSED testing/test_assertrewrite.py::TestIssue2121::test_rewrite_python_files_contain_subdirs
PASSED testing/test_assertrewrite.py::test_source_mtime_long_long[-1]
PASSED testing/test_assertrewrite.py::test_source_mtime_long_long[1]
PASSED testing/test_assertrewrite.py::test_rewrite_infinite_recursion
PASSED testing/test_assertrewrite.py::TestEarlyRewriteBailout::test_basic
PASSED testing/test_assertrewrite.py::TestEarlyRewriteBailout::test_pattern_contains_subdirectories
PASSED testing/test_assertrewrite.py::TestEarlyRewriteBailout::test_cwd_changed
SKIPPED [1] testing/test_assertrewrite.py:954: python 2 only
SKIPPED [1] testing/test_assertrewrite.py:1003: condition: sys.version_info[0] >= 3
SKIPPED [1] testing/test_assertrewrite.py:1012: condition: sys.version_info[0] >= 3
SKIPPED [1] testing/test_assertrewrite.py:1023: condition: sys.version_info[0] >= 3
SKIPPED [1] testing/test_assertrewrite.py:1034: condition: sys.version_info[0] >= 3
FAILED testing/test_assertrewrite.py::TestAssertionRewrite::test_unroll_generator
FAILED testing/test_assertrewrite.py::TestAssertionRewrite::test_unroll_list_comprehension
================ 2 failed, 65 passed, 5 skipped in 4.06 seconds ================
ERROR conda.cli.main_run:execute(124): `conda run pytest -rA testing/test_assertrewrite.py` failed. (See above for error)
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Return Code: 1
>>>>> Some Tests Failed
[pytest-dev__pytest__4.5] [pytest-dev__pytest-5103] Test script run successful