Skip to content

Fix running unit tests py3 - #656

Closed
HelioGuilherme66 wants to merge 2 commits into
robotframework:masterfrom
HelioGuilherme66:fix_running_unit_tests_Py3
Closed

HelioGuilherme66 wants to merge 2 commits into
robotframework:masterfrom
HelioGuilherme66:fix_running_unit_tests_Py3

Conversation

@HelioGuilherme66

Copy link
Copy Markdown
Member

With this PR unit tests will pass in both Python 2.7 and 3.4.
Implies #653 being applied before
Removes one unit test:

Test run:
[helio@localhost robotframework-selenium2library]$ python3 test/run_unit_tests.py

...........................................................................................................

Ran 107 tests in 0.027s

OK
[helio@localhost robotframework-selenium2library]$ python2 test/run_unit_tests.py

...........................................................................................................

Ran 107 tests in 0.052s

OK

Comments one unit test.
Replaces unicode function by str for Python 3.
@aaltat

aaltat commented Sep 6, 2016

Copy link
Copy Markdown
Contributor

After the unit test runner changes is this needed?

@pekkaklarck

Copy link
Copy Markdown
Member

This PR seems to be pretty broken. Better to get imports fixed first and look at other Python 3 fixes then.

@pekkaklarck pekkaklarck closed this Sep 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants