<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -26,6 +26,7 @@ describe &quot;Fact Type Role Matching&quot; do
   def self.ReadingCount n
     lambda {|c|
       unless @fact_type.all_reading.size == n
+        # REVISIT: Figure out how to suppress this inside a pending block
         puts &quot;SPEC FAILED, wrong number of readings (should be #{n}):\n\t#{
           @fact_type.all_reading.map{ |r| r.expand}*&quot;\n\t&quot;
         }&quot;
@@ -83,12 +84,23 @@ describe &quot;Fact Type Role Matching&quot; do
     }
   end
 
+  class BlackHole
+    def method_missing(m,*a,&amp;b)
+      self
+    end
+  end
+  class PendingSilencer
+    def STDOUT; BlackHole.new; end
+    def puts; BlackHole.new; end
+    def p; BlackHole.new; end
+  end
+
   def self.pending(msg = &quot;TODO&quot;, &amp;b)
     lambda {|c|
       raised = nil
       begin
         example = b.call
-        example.call(c)
+        eval(lambda { example.call(c) }, BlackHole.new)
       rescue =&gt; raised
       end
       raise Spec::Example::PendingExampleFixedError.new(msg) unless raised</diff>
      <filename>spec/cql/matching_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c292e614a3922fa451e57cf97f38e06e0b9af666</id>
    </parent>
  </parents>
  <author>
    <name>Clifford Heath</name>
    <email>clifford.heath@gmail.com</email>
  </author>
  <url>http://github.com/cjheath/activefacts/commit/312ca7c0fc9343348dedff8232e10576b517d12c</url>
  <id>312ca7c0fc9343348dedff8232e10576b517d12c</id>
  <committed-date>2009-11-03T00:21:38-08:00</committed-date>
  <authored-date>2009-11-03T00:21:38-08:00</authored-date>
  <message>Evaluate pending() blocks in a binding that discards STDOUT</message>
  <tree>b4cc308588d164ea7b67d72a3afcbf41be46f9e6</tree>
  <committer>
    <name>Clifford Heath</name>
    <email>clifford.heath@gmail.com</email>
  </committer>
</commit>
