class_docstr: TestRun defines the set of tests that should be run together in a single pytest invocation.
  It'll either be a whole test file or a subset of a test file.
  
  This class assumes that we won't always know the full set of TestClasses in a test file.
  So it's designed to include or exclude explicitly requested TestClasses, while having accepting
  that there will be an ambiguous set of "unknown" test classes that are not expliclty called out.
  Those manifest as tests that haven't been explicitly excluded.
class_docstr_tok: ["TestRun","defines","the","set","of","tests","that","should","be","run","together","in","a","single","pytest","invocation",".","It","'ll","either","be","a","whole","test","file","or","a","subset","of","a","test","file",".","This","class","assumes","that","we","wo","n't","always","know","the","full","set","of","TestClasses","in","a","test","file",".","So","it","'s","designed","to","include","or","exclude","explicitly","requested","TestClasses",",","while","having","accepting","that","there","will","be","an","ambiguous","set","of","``","unknown","''","test","classes","that","are","not","expliclty","called","out",".","Those","manifest","as","tests","that","have","n't","been","explicitly","excluded","."]
code: def __and__(self, other: "TestRun") -> "TestRun":
      if self.test_file != other.test_file:
          return TestRun.empty()
  
      return (self | other) - (self - other) - (other - self)
  
imports: from copy import copy
  from functools import total_ordering
  from typing import Iterable, List, Optional, Set, Tuple, Union
label_desc: Use image node_id 18 for calling the TestRun obj's underlying member method code with example usage: obj.__and__(other) and returns: unknown, TestRun