Pre-release shows duplicated collection
See original GitHub issueTests are collected multipled times.
# cell 1
import ipytest
ipytest.autoconfig()
# cell 2
%%run_pytest[clean]
def test_bar():
pass
def test_foo():
pass
# runs 4 tests
# cell 1
import ipytest
ipytest.autoconfig(defopts=False)
# cell 2
%%run_pytest[clean]
def test_bar():
pass
def test_foo():
pass
# runs 2 tests
Somehow the “.py” suffix seems to interact with pytest’s test collection. Can also be reproduced with 0.9.1
and register_module=True
.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Incorrect (duplicate) prerelease version determined even ...
I'm going to move all my packages over to a semantic-release CI/CD trunk-based flow, but most of them already have manually published releases....
Read more >Duplicate 'Content' items were included. The .NET SDK ...
1. Click 'Show All Files' in Solution Explorer 2. Right-click over 'wwwroot' select 'Exclude From Project' 3. Right-click over 'wwwroot' select 'Include in ......
Read more >Is it possible to check/search duplicate with collection before ...
Solved: Hello Everyone, I am working on an office supply system and in that more than 200 items list. The user is allowed...
Read more >Big Mistakes In Baldur's Gate Prerelease Kits - YouTube
Opening up a Commander legends battle for Baldur's gate prerelease kit with multiple mistakesLinks to Purchase Commander Legends: Battle for ...
Read more >What is this Kit!? - Pre-Release Kit Opening - Brothers' War
In our last opening for Brothers' War, where Joe gives away THREE MTG Arena codes, he opens a lot of duplicates, a borderless...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So I implemented these changes in the feature/remove-module-collector branch and released them as
ipytest==0.10.0b2
. Just in case you would like to give it a go. I will also try myself and see whether the changes break anything.Released 😃