Show More
@@ -213,17 +213,14 b' class ExecutionInfo(object):' | |||
|
213 | 213 | raw_cell = ( |
|
214 | 214 | (self.raw_cell[:50] + "..") if len(self.raw_cell) > 50 else self.raw_cell |
|
215 | 215 | ) |
|
216 | return ( | |
|
217 | '<%s object at %x, raw_cell="%s" store_history=%s silent=%s shell_futures=%s cell_id=%s>' | |
|
218 |
|
|
|
219 |
|
|
|
220 |
|
|
|
221 |
|
|
|
222 |
|
|
|
223 |
|
|
|
224 | self.shell_futures, | |
|
225 | self.cell_id, | |
|
226 | ) | |
|
216 | return '<%s object at %x, raw_cell="%s" store_history=%s silent=%s shell_futures=%s cell_id=%s>' % ( | |
|
217 | name, | |
|
218 | id(self), | |
|
219 | raw_cell, | |
|
220 | self.store_history, | |
|
221 | self.silent, | |
|
222 | self.shell_futures, | |
|
223 | self.cell_id, | |
|
227 | 224 | ) |
|
228 | 225 | |
|
229 | 226 |
@@ -782,7 +782,7 b' def _init_checker_class() -> Type["IPDoctestOutputChecker"]:' | |||
|
782 | 782 | precision = 0 if fraction is None else len(fraction) |
|
783 | 783 | if exponent is not None: |
|
784 | 784 | precision -= int(exponent) |
|
785 | if float(w.group()) == approx(float(g.group()), abs=10**-precision): | |
|
785 | if float(w.group()) == approx(float(g.group()), abs=10 ** -precision): | |
|
786 | 786 | # They're close enough. Replace the text we actually |
|
787 | 787 | # got with the text we want, so that it will match when we |
|
788 | 788 | # check the string literally. |
General Comments 0
You need to be logged in to leave comments.
Login now