code: def test_infer_domain_screen_only(self):
      class D(DataSet):
          c = Column(bool)
  
      filter_generic = D.c.latest
      filter_US = D.c.specialize(US_EQUITIES).latest
      filter_CA = D.c.specialize(CA_EQUITIES).latest
  
      self.assertEqual(
          Pipeline(screen=filter_generic).domain(default=GB_EQUITIES),
          GB_EQUITIES,
      )
      self.assertEqual(
          Pipeline(screen=filter_US).domain(default=GB_EQUITIES),
          US_EQUITIES,
      )
      self.assertEqual(
          Pipeline(screen=filter_CA).domain(default=GB_EQUITIES),
          CA_EQUITIES,
      )
  
imports: from unittest import TestCase
  from mock import patch
  from six import PY2
  from zipline.pipeline import Factor, Filter, Pipeline
  from zipline.pipeline.data import Column, DataSet, USEquityPricing
  from zipline.pipeline.domain import AmbiguousDomain, CA_EQUITIES, GENERIC, GB_EQUITIES, US_EQUITIES
  from zipline.pipeline.graph import display_graph
  from zipline.utils.compat import getargspec
  from zipline.utils.numpy_utils import float64_dtype
label_desc: Use image node_id 9 for calling the PipelineTestCase obj's underlying member method code with example usage: obj.test_infer_domain_screen_only() without return types