docstr: If no paths are passed, only `sympy` and `doc/src` are appended.
  
  `sympy` and `doc/src` are the `testpaths` stated in `pytest.ini`. They
  need to be manually added as if any path-related arguments are passed
  to `pytest.main` then the settings in `pytest.ini` may be ignored.
docstr_tok: ["If","no","paths","are","passed",",","only","`","sympy","`","and","`","doc\/src","`","are","appended",".","`","sympy","`","and","`","doc\/src","`","are","the","`","testpaths","`","stated","in","`","pytest.ini","`",".","They","need","to","be","manually","added","as","if","any","path-related","arguments","are","passed","to","`","pytest.main","`","then","the","settings","in","`","pytest.ini","`","may","be","ignored","."]
code: def test_no_paths():
      """If no paths are passed, only `sympy` and `doc/src` are appended.
  
      `sympy` and `doc/src` are the `testpaths` stated in `pytest.ini`. They
      need to be manually added as if any path-related arguments are passed
      to `pytest.main` then the settings in `pytest.ini` may be ignored.
  
      """
      paths = []
      args = update_args_with_paths(paths=paths, keywords=None, args=[])
      expected = [
          str(pathlib.Path(sympy_dir(), "sympy")),
          str(pathlib.Path(sympy_dir(), "doc/src")),
      ]
      assert args == expected
  
file_path: sympy/sympy/testing/tests/test_runtests_pytest.py
imports: import pathlib
  from typing import List
  import pytest
  from sympy.testing.runtests_pytest import make_absolute_path, sympy_dir, update_args_with_paths, update_args_with_rootdir
label_desc: Use image node_id 1 for calling the TestUpdateArgsWithPaths obj's underlying member method code with example usage: obj.test_no_paths() without return types