Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openSUSE Tumbleweed test failure HtmlTestCase.testClass on v1.4.1 #1116

Open
jayvdb opened this issue Mar 6, 2023 · 0 comments
Open

openSUSE Tumbleweed test failure HtmlTestCase.testClass on v1.4.1 #1116

jayvdb opened this issue Mar 6, 2023 · 0 comments

Comments

@jayvdb
Copy link

jayvdb commented Mar 6, 2023

This is occurring on v1.4.1 , on Python 3.8 but likely other versions of Python also. Any chance it is a known problem and there already a patch for it?

[  363s] =================================== FAILURES ===================================
[  363s] ____________________________ HtmlTestCase.testClass ____________________________
[  363s] 
[  363s] self = <test_javadoc.HtmlTestCase testMethod=testClass>
[  363s] 
[  363s]     def testClass(self):
[  363s]         JC = jpype.JClass("jpype.doc.Test")
[  363s]         jd = JC.__doc__
[  363s]         self.assertIsInstance(jd, str)
[  363s] >       self.assertRegex(jd, "random stuff")
[  363s] E       AssertionError: Regex didn't match: 'random stuff' not found in "Java class 'jpype.doc.Test'\n\n    Extends:\n        java.lang.Object\n\n  Constructors:\n    * Test()\n\n  Attributes:\n    QQ (int): final static field\n"
[  363s] 
[  363s] test/jpypetest/test_javadoc.py:41: AssertionError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant