pydot / pydot-ng

Python interface to Graphviz's Dot language compatible with Python 2 nad Python 3
MIT License
22 stars 10 forks source link

[84] Multiple test failures (Ubuntu 13.04, graphviz 2.26.3-14ubuntu1) #20

Closed prmtl closed 5 years ago

prmtl commented 9 years ago

Reported by gerg.w...@gmail.com, 2013-09-20T19:50:13Z

What steps will reproduce the problem?
  1. cd test && python pydot_unittest.py
    What is the expected output? What do you see instead?

Expected: all tests pass Actual: several tests fail (details below)

What version of the product are you using? On what operating system?

The following test case failed:

TestGraphAPI.test_attribute_with_implicit_value TestGraphAPI.test_create_simple_graph_with_node TestGraphAPI.test_graph_pickling TestGraphAPI.test_graphviz_regression_tests TestGraphAPI.test_my_regression_tests TestGraphAPI.test_quoting TestGraphAPI.test_subgraphs TestGraphAPI.test_unicode_ids

I'll attach a log of the complete run. Attached test-failures.log (view on Gist) From: https://code.google.com/p/pydot/issues/detail?id=84

prmtl commented 9 years ago

Comment by sandro.tosi, 2014-03-22T05:40:46Z

I executed the unittests on 1.0.28 + Debian sid packages (hence pyparsing 2.x) and they are executed correctly - I'll include the unittests in the deb package so they can be executed at build time

prmtl commented 9 years ago

Comment by sandro.tosi, 2014-03-22T06:39:54Z

I got several failures with py3 tho; attached is the full failure log and the patch for the initial py3k porting of pydot_unittest.py file Attached pydot_unittest_py3k_porting.patch, pydot_py3k_tests_failure.txt (view all on Gist)

prmtl commented 9 years ago

Comment by sandro.tosi, 2014-03-22T07:39:42Z

improved version of the py3k porting patch for unittest script Attached pydot_unittest_py3k_porting.patch (view on Gist)

prmtl commented 5 years ago

pydot-ng tests are passing and all woks on Python 2 and Python 3.