Skip to content

Commit

Permalink
Revert test to checking dictionary keys because paths differ on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jaharkes committed Nov 10, 2021
1 parent 9ab0cf9 commit 9db9aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/masonry/builders/test_sdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,4 +644,4 @@ def test_split_source():
setup_ast.body = [n for n in setup_ast.body if isinstance(n, ast.Assign)]
ns = {}
exec(compile(setup_ast, filename="setup.py", mode="exec"), ns)
assert ns["package_dir"] == {"": "lib_a", "module_b": "lib_b/module_b"}
assert "" in ns["package_dir"] and "module_b" in ns["package_dir"]

0 comments on commit 9db9aae

Please sign in to comment.