#16789: Combinatorial designs use internet during doctest
-------------------------------------+----------------------------
   Reporter:  vbraun                 |            Owner:
       Type:  defect                 |           Status:  new
   Priority:  blocker                |        Milestone:  sage-6.3
  Component:  combinatorial designs  |         Keywords:
  Merged in:                         |          Authors:
  Reviewers:                         |  Report Upstream:  N/A
Work issues:                         |           Branch:
     Commit:                         |     Dependencies:
   Stopgaps:                         |
-------------------------------------+----------------------------
 Doctests that use internet must be marked `# optional - internet`
 {{{
 sage -t --long src/sage/combinat/designs/bibd.py
 **********************************************************************
 File "src/sage/combinat/designs/bibd.py", line 114, in
 sage.combinat.designs.bibd.balanced_incomplete_block_design
 Failed example:
     designs.balanced_incomplete_block_design(66,6, use_LJCR=True)
 Exception raised:
     Traceback (most recent call last):
       File "/var/tmp/tmp95hfLr/sage-6.3/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 480, in _run
         self.execute(example, compiled, test.globs)
       File "/var/tmp/tmp95hfLr/sage-6.3/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 839, in execute
         exec compiled in globs
       File "<doctest
 sage.combinat.designs.bibd.balanced_incomplete_block_design[1]>", line 1,
 in <module>
         designs.balanced_incomplete_block_design(Integer(66),Integer(6),
 use_LJCR=True)
       File "/var/tmp/tmp95hfLr/sage-6.3/local/lib/python2.7/site-
 packages/sage/combinat/designs/bibd.py", line 225, in
 balanced_incomplete_block_design
         B = best_known_covering_design_www(v,k,2)
       File "/var/tmp/tmp95hfLr/sage-6.3/local/lib/python2.7/site-
 packages/sage/combinat/designs/covering_design.py", line 498, in
 best_known_covering_design_www
         f = urllib.urlopen(url)
       File "/var/tmp/tmp95hfLr/sage-6.3/local/lib/python/urllib.py", line
 87, in urlopen
         return opener.open(url)
       File "/var/tmp/tmp95hfLr/sage-6.3/local/lib/python/urllib.py", line
 208, in open
         return getattr(self, name)(url)
       File "/var/tmp/tmp95hfLr/sage-6.3/local/lib/python/urllib.py", line
 345, in open_http
         h.endheaders(data)
       File "/var/tmp/tmp95hfLr/sage-6.3/local/lib/python/httplib.py", line
 991, in endheaders
         self._send_output(message_body)
       File "/var/tmp/tmp95hfLr/sage-6.3/local/lib/python/httplib.py", line
 844, in _send_output
         self.send(msg)
       File "/var/tmp/tmp95hfLr/sage-6.3/local/lib/python/httplib.py", line
 806, in send
         self.connect()
       File "/var/tmp/tmp95hfLr/sage-6.3/local/lib/python/httplib.py", line
 787, in connect
         self.timeout, self.source_address)
       File "/var/tmp/tmp95hfLr/sage-6.3/local/lib/python/socket.py", line
 573, in create_connection
         raise err
     IOError: [Errno socket error] [Errno 110] Connection timed out
 **********************************************************************
 1 item had failures:
    1 of  15 in sage.combinat.designs.bibd.balanced_incomplete_block_design
     [74 tests, 1 failure, 133.52 s]
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/16789>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to