id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
24918 Failing doctest in test_jupyter.rst when running patchbot rws "With 8.2.beta7 all patchbots fail with:
{{{
File ""src/sage/interacts/test_jupyter.rst"", line 288, in sage.interacts.test_jupyter
Failed example:
test(interacts.statistics.coin)
Expected:
Interactive function with 2 widgets
n: IntSlider(value=1000, description=u'Number of Tosses', max=10000, min=2, step=100)
interval: IntRangeSlider(value=(0, 0), description=u'Plotting range (y)', max=1)
doctest:...: UserWarning: Attempting to set identical bottom==top results
in singular transformations; automatically expanding.
bottom=0.0, top=0.0
Got:
doctest:warning
File ""/home/vdelecro/sage_patchbot/src/bin/sage-runtests"", line 127, in
err = DC.run()
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/doctest/control.py"", line 1163, in run
self.run_doctests()
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/doctest/control.py"", line 891, in run_doctests
self.dispatcher.dispatch()
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/doctest/forker.py"", line 1835, in dispatch
self.parallel_dispatch()
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/doctest/forker.py"", line 1732, in parallel_dispatch
w.start() # This might take some time
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/doctest/forker.py"", line 2001, in start
super(DocTestWorker, self).start()
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/multiprocessing/process.py"", line 130, in start
self._popen = Popen(self)
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/multiprocessing/forking.py"", line 126, in __init__
code = process_obj._bootstrap()
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/multiprocessing/process.py"", line 267, in _bootstrap
self.run()
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/doctest/forker.py"", line 1974, in run
task(self.options, self.outtmpfile, msgpipe, self.result_queue)
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/doctest/forker.py"", line 2291, in __call__
result = runner.run(test)
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/doctest/forker.py"", line 721, in run
return self._run(test, compileflags, out)
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/doctest/forker.py"", line 537, in _run
self.compile_and_execute(example, compiler, test.globs)
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/doctest/forker.py"", line 947, in compile_and_execute
exec(compiled, globs)
File """", line 1, in
test(interacts.statistics.coin)
File """", line 6, in test
return f(**kwargs)
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/interacts/library.py"", line 736, in coin
show(point(c[1:], gridlines=[None, [0.5]], pointsize=1), ymin=interval[0], ymax=interval[1])
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/repl/rich_output/pretty_print.py"", line 258, in show
pretty_print(*args, **kwds)
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/repl/rich_output/pretty_print.py"", line 229, in pretty_print
dm.display_immediately(*args, **kwds)
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py"", line 833, in display_immediately
plain_text, rich_output = self._rich_output_formatter(obj, rich_repr_kwds)
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py"", line 623, in _rich_output_formatter
rich_output = self._call_rich_repr(obj, rich_repr_kwds)
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py"", line 581, in _call_rich_repr
return obj._rich_repr_(self, **rich_repr_kwds)
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/plot/graphics.py"", line 884, in _rich_repr_
self.save, kwds, file_ext, output_container)
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/repl/rich_output/display_manager.py"", line 711, in graphics_from_save
save_function(filename, **kwds)
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/misc/decorators.py"", line 483, in wrapper
return func(*args, **kwds)
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/plot/graphics.py"", line 3153, in save
figure = self.matplotlib(**options)
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/sage/plot/graphics.py"", line 2680, in matplotlib
subplot.set_ylim([ymin, ymax])
File ""/home/vdelecro/sage_patchbot/local/lib/python2.7/site-packages/matplotlib/axes/_base.py"", line 3239, in set_ylim
'bottom=%s, top=%s') % (bottom, top))
:
UserWarning: Attempting to set identical bottom==top results
in singular transformations; automatically expanding.
bottom=0.0, top=0.0
Interactive function with 2 widgets
n: IntSlider(value=1000, description=u'Number of Tosses', max=10000, min=2, step=100)
interval: IntRangeSlider(value=(0, 0), description=u'Plotting range (y)', max=1)
}}}
" defect closed blocker sage-8.2 interact fixed Ralf Stephan Erik Bray N/A 80d61a074638180f1c95693208c9aff2857c9d2f 80d61a074638180f1c95693208c9aff2857c9d2f