@@ -240,57 +240,6 @@ def _test_multiple_venv_symlink_kinds_impl(env, _):
240240 VenvSymlinkKind .INCLUDE ,
241241 ])
242242
243- def _test_omit_entry (name ):
244- analysis_test (
245- name = name ,
246- impl = _test_omit_entry_impl ,
247- target = "//python:none" ,
248- )
249-
250- _tests .append (_test_omit_entry )
251-
252- def _test_omit_entry_impl (env , _ ):
253- entries = [
254- # Omit by venv_path
255- _entry ("foo" , None ),
256- _entry ("foo" , "+pypi_foo/site-packages/foo" , ["foo.txt" ]),
257-
258- # Omit by venv_path and package
259- _entry ("bar" , None , package = "bar" ),
260- _entry ("bar" , "+pypi_bar_1/site-packages/bar" , ["bar.txt" ], package = "bar" ),
261- _entry (
262- "bar" ,
263- "+pypi_bar_2/site-packages/bar" ,
264- ["bar_2.txt" ],
265- package = "bar-two" ,
266- ),
267-
268- # Omit by package and version
269- _entry ("baz" , None , package = "baz" , version = "1.0" ),
270- _entry (
271- "baz" ,
272- "+pypi_baz_v1/site-packages/baz" ,
273- ["baz_v1.txt" ],
274- package = "baz" ,
275- version = "1.0" ,
276- ),
277- _entry (
278- "baz" ,
279- "+pypi_baz_v2/site-packages/baz" ,
280- ["baz_v2.txt" ],
281- package = "baz" ,
282- version = "2.0" ,
283- ),
284- ]
285-
286- actual = build_link_map (_ctx (), entries )
287-
288- expected_libs = {
289- "bar" : "+pypi_bar_2/site-packages/bar" ,
290- "baz" : "+pypi_baz_v2/site-packages/baz" ,
291- }
292- env .expect .that_dict (actual [VenvSymlinkKind .LIB ]).contains_exactly (expected_libs )
293-
294243def app_files_building_test_suite (name ):
295244 test_suite (
296245 name = name ,
0 commit comments