{"action":"created","issue":{"url":"https://api.github.com/repos/robotframework/robotframework/issues/1934","labels_url":"https://api.github.com/repos/robotframework/robotframework/issues/1934/labels{/name}","comments_url":"https://api.github.com/repos/robotframework/robotframework/issues/1934/comments","events_url":"https://api.github.com/repos/robotframework/robotframework/issues/1934/events","html_url":"https://github.com/robotframework/robotframework/pull/1934","id":59371120,"number":1934,"title":"Python3","user":{"login":"HelioGuilherme66","id":2866630,"avatar_url":"https://avatars.githubusercontent.com/u/2866630?v=3","gravatar_id":"","url":"https://api.github.com/users/HelioGuilherme66","html_url":"https://github.com/HelioGuilherme66","followers_url":"https://api.github.com/users/HelioGuilherme66/followers","following_url":"https://api.github.com/users/HelioGuilherme66/following{/other_user}","gists_url":"https://api.github.com/users/HelioGuilherme66/gists{/gist_id}","starred_url":"https://api.github.com/users/HelioGuilherme66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HelioGuilherme66/subscriptions","organizations_url":"https://api.github.com/users/HelioGuilherme66/orgs","repos_url":"https://api.github.com/users/HelioGuilherme66/repos","events_url":"https://api.github.com/users/HelioGuilherme66/events{/privacy}","received_events_url":"https://api.github.com/users/HelioGuilherme66/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-01T01:47:28Z","updated_at":"2015-03-03T02:17:29Z","closed_at":"2015-03-01T11:26:46Z","pull_request":{"url":"https://api.github.com/repos/robotframework/robotframework/pulls/1934","html_url":"https://github.com/robotframework/robotframework/pull/1934","diff_url":"https://github.com/robotframework/robotframework/pull/1934.diff","patch_url":"https://github.com/robotframework/robotframework/pull/1934.patch"},"body":"With this PR unit tests are correctly run in both python2.7 and python3.3. \r\nIt exposes one error in 2.7 and nine failed in 3.3.\r\n\r\npython2.7 run_atests.py python2.7 -s External robot/\r\n```\r\n01:22:07.308 \tINFO \tGetting file '/home/helio/github/robotframework/atest/results/python2.7/output/unit/stderr.txt' \t\r\n01:22:07.308 \tINFO \t...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E................................................................................................................................................................................................................................................................ ====================================================================== ERROR: test_numbers_with_e (test_frange.TestFrange) ---------------------------------------------------------------------- Traceback (most recent call last): File \"/home/helio/github/robotframework/utest/utils/test_frange.py\", line 22, in test_numbers_with_e result = frange(*input) File \"/home/helio/github/robotframework/utest/../src/robot/utils/frange.py\", line 29, in frange int(round(step*factor)))] OverflowError: Python int too large to convert to C long ---------------------------------------------------------------------- Ran 1460 tests in 5.471s FAILED (errors=1)\r\n```\r\n---\r\n\r\npython3.3 run_atests.py python3.3 -s External robot/\r\n```\r\n01:26:58.310 \tINFO \tGetting file '/home/helio/github/robotframework/atest/python3/atest/results/python3.3/output/unit/stderr.txt' \t\r\n01:26:58.310 \tINFO \t.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F...F................................FF..F...F.......................................................................................................................................................................................................................................................................................F................................................................................................FE..................................................................................................................................................................................................................................................... ====================================================================== ERROR: test_order_does_not_affect_equality (test_dotdict.TestDotDict) ---------------------------------------------------------------------- Traceback (most recent call last): File \"/home/helio/github/robotframework/utest/utils/test_dotdict.py\", line 57, in test_order_does_not_affect_equality od2 = OrderedDict(reversed(od1.items())) TypeError: argument to reversed() must be a sequence ====================================================================== FAIL: test_no_traceback (test_importer_util.TestErrorDetails) ---------------------------------------------------------------------- Traceback (most recent call last): File \"/home/helio/github/robotframework/utest/utils/test_importer_util.py\", line 348, in test_no_traceback 'Traceback (most recent call last):\\n None') File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 182, in fail_unless_equal _report_unequality_failure(first, second, msg, values, '!=') File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 245, in _report_unequality_failure _report_failure(msg) File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 231, in _report_failure raise AssertionError(msg) AssertionError: Traceback (most recent call last): File \"/usr/lib/python3.3/site-packages/six.py\", line 625, in reraise raise value File \"/home/helio/github/robotframework/utest/../src/robot/utils/importer.py\", line 143, in _import return __import__(name, fromlist=fromlist) != Traceback (most recent call last): None ====================================================================== FAIL: test_traceback (test_importer_util.TestErrorDetails) ---------------------------------------------------------------------- Traceback (most recent call last): File \"/home/helio/github/robotframework/utest/utils/test_importer_util.py\", line 359, in test_traceback ' import nonex' % path) File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 182, in fail_unless_equal _report_unequality_failure(first, second, msg, values, '!=') File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 245, in _report_unequality_failure _report_failure(msg) File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 231, in _report_failure raise AssertionError(msg) AssertionError: Traceback (most recent call last): File \"/usr/lib/python3.3/site-packages/six.py\", line 625, in reraise raise value File \"/home/helio/github/robotframework/utest/../src/robot/utils/importer.py\", line 143, in _import return __import__(name, fromlist=fromlist) File \"/tmp/robot-importer-testing/tb.py\", line 4, in <module> import nonex != Traceback (most recent call last): File \"/tmp/robot-importer-testing/tb.py\", line 4, in <module> import nonex ====================================================================== FAIL: test_b_prefix (test_unic.TestPrettyRepr) ---------------------------------------------------------------------- Traceback (most recent call last): File \"/home/helio/github/robotframework/utest/utils/test_unic.py\", line 125, in test_b_prefix self._verify('hyv\\xe4', \"b'hyv\\\\xe4'\") File \"/home/helio/github/robotframework/utest/utils/test_unic.py\", line 116, in _verify assert_equals(prepr(item), expected) File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 182, in fail_unless_equal _report_unequality_failure(first, second, msg, values, '!=') File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 245, in _report_unequality_failure _report_failure(msg) File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 231, in _report_failure raise AssertionError(msg) AssertionError: 'hyvä' != 'hyv\\xe4' ====================================================================== FAIL: test_collections (test_unic.TestPrettyRepr) ---------------------------------------------------------------------- Traceback (most recent call last): File \"/home/helio/github/robotframework/utest/utils/test_unic.py\", line 160, in test_collections '(%s, %s, [%s])' % (exp1, exp2, exp1)) File \"/home/helio/github/robotframework/utest/utils/test_unic.py\", line 116, in _verify assert_equals(prepr(item), expected) File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 182, in fail_unless_equal _report_unequality_failure(first, second, msg, values, '!=') File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 245, in _report_unequality_failure _report_failure(msg) File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 231, in _report_failure raise AssertionError(msg) AssertionError: <Unrepresentable object tuple. Error: This, of course, should never happen...> != (<Unrepresentable object ReprFails. Error: This, of course, should never happen...>, <test_unic.StrFails object at 0x7fb072b72b90>, [<Unrepresentable object ReprFails. Error: This, of course, should never happen...>]) ====================================================================== FAIL: test_no_u_prefix (test_unic.TestPrettyRepr) ---------------------------------------------------------------------- Traceback (most recent call last): File \"/home/helio/github/robotframework/utest/utils/test_unic.py\", line 121, in test_no_u_prefix self._verify(u'hyv\\xe4', \"'hyv\\\\xe4'\") File \"/home/helio/github/robotframework/utest/utils/test_unic.py\", line 116, in _verify assert_equals(prepr(item), expected) File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 182, in fail_unless_equal _report_unequality_failure(first, second, msg, values, '!=') File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 245, in _report_unequality_failure _report_failure(msg) File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 231, in _report_failure raise AssertionError(msg) AssertionError: 'hyvä' != 'hyv\\xe4' ====================================================================== FAIL: test_split_big_collections (test_unic.TestPrettyRepr) ---------------------------------------------------------------------- Traceback (most recent call last): File \"/home/helio/github/robotframework/utest/utils/test_unic.py\", line 181, in test_split_big_collections '[%s]' % ',\\n '.join(str(i) for i in range(300))) File \"/home/helio/github/robotframework/utest/utils/test_unic.py\", line 116, in _verify assert_equals(prepr(item), expected) File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 182, in fail_unless_equal _report_unequality_failure(first, second, msg, values, '!=') File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 245, in _report_unequality_failure _report_failure(msg) File \"/home/helio/github/robotframework/utest/../src/robot/utils/asserts.py\", line 231, in _report_failure raise AssertionError(msg) AssertionError: range(0, 300) != [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299]\r\n```"},"comment":{"url":"https://api.github.com/repos/robotframework/robotframework/issues/comments/76874187","html_url":"https://github.com/robotframework/robotframework/pull/1934#issuecomment-76874187","issue_url":"https://api.github.com/repos/robotframework/robotframework/issues/1934","id":76874187,"user":{"login":"userzimmermann","id":2088633,"avatar_url":"https://avatars.githubusercontent.com/u/2088633?v=3","gravatar_id":"","url":"https://api.github.com/users/userzimmermann","html_url":"https://github.com/userzimmermann","followers_url":"https://api.github.com/users/userzimmermann/followers","following_url":"https://api.github.com/users/userzimmermann/following{/other_user}","gists_url":"https://api.github.com/users/userzimmermann/gists{/gist_id}","starred_url":"https://api.github.com/users/userzimmermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/userzimmermann/subscriptions","organizations_url":"https://api.github.com/users/userzimmermann/orgs","repos_url":"https://api.github.com/users/userzimmermann/repos","events_url":"https://api.github.com/users/userzimmermann/events{/privacy}","received_events_url":"https://api.github.com/users/userzimmermann/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T02:17:29Z","updated_at":"2015-03-03T02:17:29Z","body":"Hi Hélio,\r\nNice little addition. I pulled it to https://github.com/userzimmermann/robotframework/tree/python3\r\nCheers,\r\nStefan"}}