| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately our records indicate you have not signed the CLA. For legal reasons we need you to sign this before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. Thanks again to your contribution and we look forward to looking at it! |
Sorry, something went wrong.
|
@arp11, thanks for your PR! By analyzing the history of the files in this pull request, we identified @loewis, @freddrake and @Yhg1s to be potential reviewers. |
Sorry, something went wrong.
There was a problem hiding this comment.
Hello,
Thank you for the patch. I locally checked and it is working fine.
Could you update the PR to include the news file as well?
Sorry, something went wrong.
| dom, orig, c1, c2, c3, frag = self._create_fragment_test_nodes() | ||
| written = StringIO() | ||
| frag.writexml(writer=written, indent=' ', addindent='-', newl=':') | ||
| self.assertEquals(written.getvalue(), ' foo: bar: bat:') |
There was a problem hiding this comment.
Use self.assertEqual() (without the trailing s).
Sorry, something went wrong.
| dom.unlink() | ||
|
|
||
| def testWriteXMLChildFragment(self): | ||
| dom, orig, c1, c2, c3, frag = self._create_fragment_test_nodes() |
There was a problem hiding this comment.
You could delete unused vars by using dom, *_, frag = ....
Sorry, something went wrong.
|
I'm not sure why this has languished so long, but I don't remember reading the patch when I first saw bpo-9883 (though it was present). @arp11: Are you willing to update the patch to resolve the conflicts, even though this has aged a bit? |
Sorry, something went wrong.
|
It looks like @arp11 is no longer active therefore I'm going to close this pull request. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Adds writexml method as well as a test to make sure it works. Since there was no attribute previously, the only behavior change is if a client introspects the available attributes on this node type specifically. There seems to be no other test coverage for writexml whatsoever.
https://bugs.python.org/issue9883