code: def test_simple_lflags(self):
      d = parse_flags("-L/usr/lib -lfoo -L/usr/lib -lbar")
      assert_(d["library_dirs"] == ["/usr/lib", "/usr/lib"])
      assert_(d["libraries"] == ["foo", "bar"])
  
      d = parse_flags("-L /usr/lib -lfoo -L/usr/lib -lbar")
      assert_(d["library_dirs"] == ["/usr/lib", "/usr/lib"])
      assert_(d["libraries"] == ["foo", "bar"])
  
file_path: catboost/contrib/python/numpy/py3/numpy/distutils/tests/test_npy_pkg_config.py
imports: import os
  from numpy.distutils.npy_pkg_config import read_config, parse_flags
  from numpy.testing import temppath, assert_
label_desc: Use image node_id 2 for calling the TestParseFlags obj's underlying member method code with example usage: obj.test_simple_lflags() without return types