{"action":"created","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/15149","repository_url":"https://api.github.com/repos/sympy/sympy","labels_url":"https://api.github.com/repos/sympy/sympy/issues/15149/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/15149/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/15149/events","html_url":"https://github.com/sympy/sympy/issues/15149","id":354107682,"node_id":"MDU6SXNzdWUzNTQxMDc2ODI=","number":15149,"title":"Test failures running tests twice in the same process","user":{"login":"timokau","id":3799330,"node_id":"MDQ6VXNlcjM3OTkzMzA=","avatar_url":"https://avatars0.githubusercontent.com/u/3799330?v=4","gravatar_id":"","url":"https://api.github.com/users/timokau","html_url":"https://github.com/timokau","followers_url":"https://api.github.com/users/timokau/followers","following_url":"https://api.github.com/users/timokau/following{/other_user}","gists_url":"https://api.github.com/users/timokau/gists{/gist_id}","starred_url":"https://api.github.com/users/timokau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timokau/subscriptions","organizations_url":"https://api.github.com/users/timokau/orgs","repos_url":"https://api.github.com/users/timokau/repos","events_url":"https://api.github.com/users/timokau/events{/privacy}","received_events_url":"https://api.github.com/users/timokau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-08-26T16:24:28Z","updated_at":"2018-08-29T15:29:49Z","closed_at":null,"author_association":"NONE","body":"In the process of upgrading the nix sympow package to 1.2, I noticed that we currently don't run the tests with the comment \"Bunch of failures including transients\". Re-enabling the tests, I do indeed get failures. In the python files:\r\n\r\n```\r\n_________________________ sympy.printing.dot.dotprint __________________________\r\nFile \"/build/sympy-1.2/sympy/printing/dot.py\", line 162, in sympy.printing.dot.dotprint\r\nFailed example:\r\n    print(dotprint(x+2)) # doctest: +NORMALIZE_WHITESPACE\r\nExpected:\r\n    digraph{\r\n    <BLANKLINE>\r\n    # Graph style\r\n    \"ordering\"=\"out\"\r\n    \"rankdir\"=\"TD\"\r\n    <BLANKLINE>\r\n    #########\r\n    # Nodes #\r\n    #########\r\n    <BLANKLINE>\r\n    \"Add(Integer(2), Symbol(x))_()\" [\"color\"=\"black\", \"label\"=\"Add\", \"shape\"=\"ellipse\"];\r\n    \"Integer(2)_(0,)\" [\"color\"=\"black\", \"label\"=\"2\", \"shape\"=\"ellipse\"];\r\n    \"Symbol(x)_(1,)\" [\"color\"=\"black\", \"label\"=\"x\", \"shape\"=\"ellipse\"];\r\n    <BLANKLINE>\r\n    #########\r\n    # Edges #\r\n    #########\r\n    <BLANKLINE>\r\n    \"Add(Integer(2), Symbol(x))_()\" -> \"Integer(2)_(0,)\";\r\n    \"Add(Integer(2), Symbol(x))_()\" -> \"Symbol(x)_(1,)\";\r\n    }\r\nGot:\r\n    digraph{\r\n    <BLANKLINE>\r\n    # Graph style\r\n    \"depth\"=\"1\"\r\n    \"ordering\"=\"out\"\r\n    \"rankdir\"=\"TD\"\r\n    <BLANKLINE>\r\n    #########\r\n    # Nodes #\r\n    #########\r\n    <BLANKLINE>\r\n    \"Add(Integer(2), Symbol(x))_()\" [\"color\"=\"black\", \"label\"=\"Add\", \"shape\"=\"ellipse\"];\r\n    \"Integer(2)_(0,)\" [\"color\"=\"black\", \"label\"=\"2\", \"shape\"=\"ellipse\"];\r\n    \"Symbol(x)_(1,)\" [\"color\"=\"black\", \"label\"=\"x\", \"shape\"=\"ellipse\"];\r\n    <BLANKLINE>\r\n    #########\r\n    # Edges #\r\n    #########\r\n    <BLANKLINE>\r\n    \"Add(Integer(2), Symbol(x))_()\" -> \"Integer(2)_(0,)\";\r\n    \"Add(Integer(2), Symbol(x))_()\" -> \"Symbol(x)_(1,)\";\r\n    }\r\n________________________________________________________________________________\r\n_______________________ sympy.polys.rootoftools.CRootOf ________________________\r\nFile \"/build/sympy-1.2/sympy/polys/rootoftools.py\", line 213, in sympy.polys.rootoftools.CRootOf\r\nFailed example:\r\n    interval = r._get_interval(); interval\r\nExpected:\r\n    (-1, 0)\r\nGot:\r\n    (-3917/4012, -536/549)\r\n**********************************************************************\r\nFile \"/build/sympy-1.2/sympy/polys/rootoftools.py\", line 227, in sympy.polys.rootoftools.CRootOf\r\nFailed example:\r\n    interval\r\nExpected:\r\n    (-1, 0)\r\nGot:\r\n    (-3917/4012, -536/549)\r\n**********************************************************************\r\nFile \"/build/sympy-1.2/sympy/polys/rootoftools.py\", line 263, in sympy.polys.rootoftools.CRootOf\r\nFailed example:\r\n    t.eval_rational(1e-1)\r\nExpected:\r\n    15/256 - 805*I/256\r\nGot:\r\n    1013109389949896935100887704775/20282409603651670423947251286016 - 64162610336636313181854047974825*I/20282409603651670423947251286016\r\n**********************************************************************\r\nFile \"/build/sympy-1.2/sympy/polys/rootoftools.py\", line 265, in sympy.polys.rootoftools.CRootOf\r\nFailed example:\r\n    t.eval_rational(1e-1, 1e-4)\r\nExpected:\r\n    3275/65536 - 414645*I/131072\r\nGot:\r\n    1013109389949896935100887704775/20282409603651670423947251286016 - 64162610336636313181854047974825*I/20282409603651670423947251286016\r\n**********************************************************************\r\nFile \"/build/sympy-1.2/sympy/polys/rootoftools.py\", line 267, in sympy.polys.rootoftools.CRootOf\r\nFailed example:\r\n    t.eval_rational(1e-4, 1e-4)\r\nExpected:\r\n    6545/131072 - 414645*I/131072\r\nGot:\r\n    1013109389949896935100887704775/20282409603651670423947251286016 - 64162610336636313181854047974825*I/20282409603651670423947251286016\r\n**********************************************************************\r\nFile \"/build/sympy-1.2/sympy/polys/rootoftools.py\", line 269, in sympy.polys.rootoftools.CRootOf\r\nFailed example:\r\n    t.eval_rational(n=2)\r\nExpected:\r\n    104755/2097152 - 6634255*I/2097152\r\nGot:\r\n    1013109389949896935100887704775/20282409603651670423947251286016 - 64162610336636313181854047974825*I/20282409603651670423947251286016\r\n________________________________________________________________________________\r\n________________________ sympy.core.singleton.Singleton ________________________\r\nFile \"/build/sympy-1.2/sympy/core/singleton.py\", line 143, in sympy.core.singleton.Singleton\r\nFailed example:\r\n    S.MySingleton is MySingleton()\r\nExpected:\r\n    True\r\nGot:\r\n    False\r\n\r\n===== tests finished: 3439 passed, 3 failed, 14 skipped, in 477.57 seconds =====\r\n```\r\n\r\nand in the rst files:\r\n\r\n```\r\nFile \"/build/sympy-1.2/doc/src/tutorial/printing.rst\", line 234, in printing.rst\r\nFailed example:\r\n    print(dotprint(x+2)) \r\nExpected:\r\n    digraph{\r\n    # Graph style\r\n    \"ordering\"=\"out\"\r\n    \"rankdir\"=\"TD\"\r\n    #########\r\n    # Nodes #\r\n    #########\r\n    \"Add(Integer(2), Symbol(x))_()\" [\"color\"=\"black\", \"label\"=\"Add\", \"shape\"=\"ellipse\"];\r\n    \"Integer(2)_(0,)\" [\"color\"=\"black\", \"label\"=\"2\", \"shape\"=\"ellipse\"];\r\n    \"Symbol(x)_(1,)\" [\"color\"=\"black\", \"label\"=\"x\", \"shape\"=\"ellipse\"];\r\n    #########\r\n    # Edges #\r\n    #########\r\n    \"Add(Integer(2), Symbol(x))_()\" -> \"Integer(2)_(0,)\";\r\n    \"Add(Integer(2), Symbol(x))_()\" -> \"Symbol(x)_(1,)\";\r\n    }\r\nGot:\r\n    digraph{\r\n    <BLANKLINE>\r\n    # Graph style\r\n    \"depth\"=\"1\"\r\n    \"ordering\"=\"out\"\r\n    \"rankdir\"=\"TD\"\r\n    <BLANKLINE>\r\n    #########\r\n    # Nodes #\r\n    #########\r\n    <BLANKLINE>\r\n    \"Add(Integer(2), Symbol(x))_()\" [\"color\"=\"black\", \"label\"=\"Add\", \"shape\"=\"ellipse\"];\r\n    \"Integer(2)_(0,)\" [\"color\"=\"black\", \"label\"=\"2\", \"shape\"=\"ellipse\"];\r\n    \"Symbol(x)_(1,)\" [\"color\"=\"black\", \"label\"=\"x\", \"shape\"=\"ellipse\"];\r\n    <BLANKLINE>\r\n    #########\r\n    # Edges #\r\n    #########\r\n    <BLANKLINE>\r\n    \"Add(Integer(2), Symbol(x))_()\" -> \"Integer(2)_(0,)\";\r\n    \"Add(Integer(2), Symbol(x))_()\" -> \"Symbol(x)_(1,)\";\r\n    }\r\n**********************************************************************\r\n1 items had failures:\r\n   1 of  22 in printing.rst\r\n***Test Failed*** 1 failures.\r\n```\r\n\r\nThose are likely packaging failures. However I can't figure out what we're doing wrong. Any ideas?\r\n"},"comment":{"url":"https://api.github.com/repos/sympy/sympy/issues/comments/416996369","html_url":"https://github.com/sympy/sympy/issues/15149#issuecomment-416996369","issue_url":"https://api.github.com/repos/sympy/sympy/issues/15149","id":416996369,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjk5NjM2OQ==","user":{"login":"valglad","id":20492235,"node_id":"MDQ6VXNlcjIwNDkyMjM1","avatar_url":"https://avatars0.githubusercontent.com/u/20492235?v=4","gravatar_id":"","url":"https://api.github.com/users/valglad","html_url":"https://github.com/valglad","followers_url":"https://api.github.com/users/valglad/followers","following_url":"https://api.github.com/users/valglad/following{/other_user}","gists_url":"https://api.github.com/users/valglad/gists{/gist_id}","starred_url":"https://api.github.com/users/valglad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valglad/subscriptions","organizations_url":"https://api.github.com/users/valglad/orgs","repos_url":"https://api.github.com/users/valglad/repos","events_url":"https://api.github.com/users/valglad/events{/privacy}","received_events_url":"https://api.github.com/users/valglad/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T15:29:49Z","updated_at":"2018-08-29T15:29:49Z","author_association":"CONTRIBUTOR","body":"Ah yes, of course. And that in itself is because something is wrong with `order`. Thanks @timokau "}}
{"actor":{"display_login":"valglad"}}