Open mcepl opened 2 years ago
With
jupyter-client-7.3.4-1.3 jupyter-core-4.11.1-1.3 jupyter-jupyter-client-7.3.4-1.3 jupyter-jupyterlab-pygments-0.2.2-1.3 jupyterlab-pygments-0.2.2-1.3 jupyter-nbconvert-7.0.0-1.1 jupyter-nbformat-5.6.1-1.1
I get this result:
[ 44s] ______________________ WeaveTest.testFIR_FilterExampleTex ______________________ [ 44s] [ 44s] self = <tests.test_pweave.WeaveTest testMethod=testFIR_FilterExampleTex> [ 44s] reference = None [ 44s] [ 44s] def assertSameAsReference(self, reference=None): [ 44s] try: [ 44s] > self.assertEqual(self.contentOf(reference if reference is not None else self.REFERENCE), [ 44s] self.contentOf(self.OUTFILE)) [ 44s] [ 44s] tests/_frameworkForTests.py:34: [ 44s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 44s] [ 44s] self = <tests.test_pweave.WeaveTest testMethod=testFIR_FilterExampleTex> [ 44s] first = '\\documentclass[a4paper,11pt,final]{article}\n\\usepackage{fancyvrb, color, graphicx, hyperref, amsmath, url}\n\\usep...R_design_verb_figure4_1.pdf}\n\\caption{Bandpass FIR filter.}\n\\label{fig:None}\n\\end{figure}\n\n\n\\end{document}\n' [ 44s] second = '\\documentclass[a4paper,11pt,final]{article}\n\\usepackage{fancyvrb, color, graphicx, hyperref, amsmath, url}\n\\usep...R_design_verb_figure4_1.pdf}\n\\caption{Bandpass FIR filter.}\n\\label{fig:None}\n\\end{figure}\n\n\n\\end{document}\n' [ 44s] msg = None [ 44s] [ 44s] def assertEqual(self, first, second, msg=None): [ 44s] """Fail if the two objects are unequal as determined by the '==' [ 44s] operator. [ 44s] """ [ 44s] assertion_func = self._getAssertEqualityFunc(first, second) [ 44s] > assertion_func(first, second, msg=msg) [ 44s] [ 44s] /usr/lib64/python3.8/unittest/case.py:912: [ 44s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 44s] [ 44s] self = <tests.test_pweave.WeaveTest testMethod=testFIR_FilterExampleTex> [ 44s] first = '\\documentclass[a4paper,11pt,final]{article}\n\\usepackage{fancyvrb, color, graphicx, hyperref, amsmath, url}\n\\usep...R_design_verb_figure4_1.pdf}\n\\caption{Bandpass FIR filter.}\n\\label{fig:None}\n\\end{figure}\n\n\n\\end{document}\n' [ 44s] second = '\\documentclass[a4paper,11pt,final]{article}\n\\usepackage{fancyvrb, color, graphicx, hyperref, amsmath, url}\n\\usep...R_design_verb_figure4_1.pdf}\n\\caption{Bandpass FIR filter.}\n\\label{fig:None}\n\\end{figure}\n\n\n\\end{document}\n' [ 44s] msg = None [ 44s] [ 44s] def assertMultiLineEqual(self, first, second, msg=None): [ 44s] """Assert that two multi-line strings are equal.""" [ 44s] self.assertIsInstance(first, str, 'First argument is not a string') [ 44s] self.assertIsInstance(second, str, 'Second argument is not a string') [ 44s] [ 44s] if first != second: [ 44s] # don't use difflib if the strings are too long [ 44s] if (len(first) > self._diffThreshold or [ 44s] len(second) > self._diffThreshold): [ 44s] self._baseAssertEqual(first, second, msg) [ 44s] firstlines = first.splitlines(keepends=True) [ 44s] secondlines = second.splitlines(keepends=True) [ 44s] if len(firstlines) == 1 and first.strip('\r\n') == first: [ 44s] firstlines = [first + '\n'] [ 44s] secondlines = [second + '\n'] [ 44s] standardMsg = '%s != %s' % _common_shorten_repr(first, second) [ 44s] diff = '\n' + ''.join(difflib.ndiff(firstlines, secondlines)) [ 44s] standardMsg = self._truncateMessage(standardMsg, diff) [ 44s] > self.fail(self._formatMessage(msg, standardMsg)) [ 44s] [ 44s] /usr/lib64/python3.8/unittest/case.py:1292: [ 44s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 44s] [ 44s] self = <tests.test_pweave.WeaveTest testMethod=testFIR_FilterExampleTex> [ 44s] msg = "'\\\\do[3690 chars]}\\n\\\\includegraphics[width= \\\\linewidth]{figur[492 chars]t}\\n' != '\\\\do[3690 chars]}\\n\\\...batim}\\n------------------------[2218 chars]t}\\n'\nDiff is 6142 characters long. Set self.maxDiff to None to see it." [ 44s] [ 44s] def fail(self, msg=None): [ 44s] """Fail immediately, with the given message.""" [ 44s] > raise self.failureException(msg) [ 44s] E AssertionError: '\\do[3690 chars]}\n\\includegraphics[width= \\linewidth]{figur[492 chars]t}\n' != '\\do[3690 chars]}\n\\begin{verbatim}\n------------------------[2218 chars]t}\n' [ 44s] E Diff is 6142 characters long. Set self.maxDiff to None to see it. [ 44s] [ 44s] /usr/lib64/python3.8/unittest/case.py:753: AssertionError [ 44s] [ 44s] During handling of the above exception, another exception occurred: [ 44s] [ 44s] self = <tests.test_pweave.WeaveTest testMethod=testFIR_FilterExampleTex> [ 44s] [ 44s] def testMethod(self): [ 44s] self.TESTDIR = os.path.join('weave', doctype) [ 44s] infile = self.absPathTo(filename + 'w') [ 44s] self.setNewOutfile(filename) [ 44s] [ 44s] pweave.weave(infile, doctype=doctype, [ 44s] output=self.absPathTo(filename), [ 44s] **kwargs) [ 44s] [ 44s] basename, _, ext = filename.rpartition('.') [ 44s] self.REFERENCE = self.absPathTo(basename + '_REF.' + ext) [ 44s] > self.assertSameAsReference() [ 44s] [ 44s] tests/test_pweave.py:31: [ 44s] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [ 44s] [ 44s] self = <tests.test_pweave.WeaveTest testMethod=testFIR_FilterExampleTex> [ 44s] reference = None [ 44s] [ 44s] def assertSameAsReference(self, reference=None): [ 44s] try: [ 44s] self.assertEqual(self.contentOf(reference if reference is not None else self.REFERENCE), [ 44s] self.contentOf(self.OUTFILE)) [ 44s] except AssertionError: [ 44s] > raise AssertionError("{ref} and {out} differs\ntry:\n$ vimdiff {ref} {out}".format( [ 44s] ref=self.absPathTo(self.REFERENCE), [ 44s] out=self.absPathTo(self.OUTFILE))) [ 44s] E AssertionError: /home/abuild/rpmbuild/BUILD/Pweave-0.30.3/tests/weave/tex/FIR_design_verb_REF.tex and /home/abuild/rpmbuild/BUILD/Pweave-0.30.3/tests/weave/tex/FIR_design_verb.tex differs [ 44s] E try: [ 44s] E $ vimdiff /home/abuild/rpmbuild/BUILD/Pweave-0.30.3/tests/weave/tex/FIR_design_verb_REF.tex /home/abuild/rpmbuild/BUILD/Pweave-0.30.3/tests/weave/tex/FIR_design_verb.tex [ 44s] [ 44s] tests/_frameworkForTests.py:37: AssertionError [ 44s] ----------------------------- Captured stdout call ----------------------------- [ 44s] status [ 44s] Processing chunk 1 named None from line 92 [ 44s] Processing chunk 2 named None from line 116 [ 44s] Processing chunk 3 named None from line 126 [ 44s] Processing chunk 4 named None from line 137 [ 44s] Weaved /home/abuild/rpmbuild/BUILD/Pweave-0.30.3/tests/weave/tex/FIR_design_verb.texw to /home/abuild/rpmbuild/BUILD/Pweave-0.30.3/tests/weave/tex/FIR_design_verb.tex
Complete build log with all packages used and steps taken.
With
jupyter-client-7.3.4-1.3 jupyter-core-4.11.1-1.3 jupyter-jupyter-client-7.3.4-1.3 jupyter-jupyterlab-pygments-0.2.2-1.3 jupyterlab-pygments-0.2.2-1.3 jupyter-nbconvert-7.0.0-1.1 jupyter-nbformat-5.6.1-1.1
I get this result:
Complete build log with all packages used and steps taken.