Coder Social home page Coder Social logo

pxml's People

Contributors

jlec avatar metagriffin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

jlec

pxml's Issues

FAIL: test_different_xml (pxml.test.TestPxmlTestMixin)

======================================================================
FAIL: test_different_xml (pxml.test.TestPxmlTestMixin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/pxml-0.2.11/work/pxml-0.2.11/pxml/test.py", line 125, in test_different_xml
    ''')
AssertionError: '\'<?xml version="1.0" encoding="UTF-8"?>\\n<root>\\n  <node a="1" b="0"/>\\n</r [truncated]... != '\'<?xm[14 chars]" encoding="UTF-8"?>\\n<root>\\n  <node a="1" b="0"/>\\n</root> [truncated]...
- '<?xml version="1.0" encoding="UTF-8"?>\n<root>\n  <node a="1" b="0"/>\n</root>\ [truncated]... != '<?xml version="1.0" encoding="UTF-8"?>\n<root>\n  <node a="0" b="1"/>\n</root>\ [truncated]...
?      ^^^^  ^^^^ ----                                                            ----- ^^^^^^^^^         ^^^^  ^^^^ ----                                                            ----- ^^^^^^^^^
+ '<?xm[14 chars]" encoding="UTF-8"?>\n<root>\n  <node a="1" b="0"/>\n</root>\n' != '<?xm[14 chars]" encoding="UTF-8"?>\n<root>\n  <node a="0" b="1"/>\n</root>\n'
?      ^^^^^^^  ^                                                              ^         ^^^^^^^  ^                                                              ^
    <?xml version="1.0" encoding="UTF-8"?>
    <root>
  -   <node a="1" b="0"/>
  +   <node a="0" b="1"/>
    </root>

with pxml-0.2.11 and python3.3

FAIL: test_color (pxml.test.TestPxml)

======================================================================
FAIL: test_color (pxml.test.TestPxml)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/pxml-0.2.11/work/pxml-0.2.11/pxml/test.py", line 62, in test_color
    self.assertEqual(out.getvalue(), chk)
AssertionError: b'\x1b[38;5;2m<?xml version="1.0" encoding="UTF-8"?>\x1b[m\x1b(B\n\x1b[1m\x1b[38;5;5m<\x1b[m\x1b(B\x1b[1m\x1b[38;5;4mroot\x1b[m\x1b(B\x1b[1m\x1b[38;5;5m>\x1b[m\x1b(B\n  \x1b[1m\x1b[38;5;5m<\x1b[m\x1b(B\x1b[1m\x1b[38;5;4mzog\x1b[m\x1b(B \x1b[1m\x1b[38;5;4ma\x1b[m\x1b(B\x1b[1m\x1b[38;5;5m="\x1b[m\x1b(Bb\x1b[1m\x1b[38;5;5m"\x1b[m\x1b(B\x1b[1m\x1b[38;5;5m>\x1b[m\x1b(Bfoo\x1b[1m\x1b[38;5;5m</\x1b[m\x1b(B\x1b[1m\x1b[38;5;4mzog\x1b[m\x1b(B\x1b[1m\x1b[38;5;5m>\x1b[m\x1b(B\n\x1b[1m\x1b[38;5;5m</\x1b[m\x1b(B\x1b[1m\x1b[38;5;4mroot\x1b[m\x1b(B\x1b[1m\x1b[38;5;5m>\x1b[m\x1b(B\n' != b'\x1b[32m<?xml version="1.0" encoding="UTF-8"?>\x1b(B\x1b[m\n\x1b[1m\x1b[35m<\x1b(B\x1b[m\x1b[1m\x1b[34mroot\x1b(B\x1b[m\x1b[1m\x1b[35m>\x1b(B\x1b[m\n  \x1b[1m\x1b[35m<\x1b(B\x1b[m\x1b[1m\x1b[34mzog\x1b(B\x1b[m \x1b[1m\x1b[34ma\x1b(B\x1b[m\x1b[1m\x1b[35m="\x1b(B\x1b[mb\x1b[1m\x1b[35m"\x1b(B\x1b[m\x1b[1m\x1b[35m>\x1b(B\x1b[mfoo\x1b[1m\x1b[35m</\x1b(B\x1b[m\x1b[1m\x1b[34mzog\x1b(B\x1b[m\x1b[1m\x1b[35m>\x1b(B\x1b[m\n\x1b[1m\x1b[35m</\x1b(B\x1b[m\x1b[1m\x1b[34mroot\x1b(B\x1b[m\x1b[1m\x1b[35m>\x1b(B\x1b[m\n'

with pxml-0.2.11 and python3.3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.