Closed ericdill closed 7 years ago
Merging #46 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #46 +/- ##
=======================================
Coverage 94.06% 94.06%
=======================================
Files 2 2
Lines 219 219
=======================================
Hits 206 206
Misses 13 13
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 8159290...68e40e4. Read the comment docs.
Nice catch.
Couldn't figure out why this test was intermittently failing. Turns out that the top level keys of the
repodata
dict wereconda-forge
andhttps://repo.continuum.io/pkgs/free
. Fun fact: dictionaries in python 3 do not have deterministic ordering, so when I was doingnext(iter(repodata.keys()))
I would be gettingconda-forge
orhttps://repo.continuum.io/pkgs/free
in an effectively random fashion. If I was unlucky and gothttps://repo.continuum.io/pkgs/free
, then the tests would fail because pytest was trying to write to a very deeply nested folder:Also, the colon in the file path probably wasn't helping matters...
In any event, that was not the desired behavior. What I really wanted to get were the package names in that repodata dictionary which requires the change in this PR