Skip to main content

https://github.com/userzimmermann/robotframework/tree/python3

Please report any issues to:

https://github.com/userzimmermann/robotframework/issues

You can look at this URL for a complete code diff:

https://github.com/userzimmermann/robotframework/compare/master…python3

Installation

pip install robotframework-python3

Requirements

Differences in Python 3

Python 3 makes a clear distinction between str for textual data and bytes for binary data. This affects the Standard Test Libraries and their Keywords:

  • str arguments don’t work where bytes are expected, like writing to binary file streams or comparing with other bytes.

  • bytes don’t work where str is expected, like writing to text mode streams or comparing with another str.

  • Reading from binary streams always returns bytes.

  • Reading from text streams always returns str.

You can use the following keywords to explicitly create bytes:

  • BuiltIn.Convert To Bytes

  • String.Encode String To Bytes

I extended Process.Start Process with a binary_mode argument. By default the process streams are opened in text mode. You can change this with:

binary_mode=True

Collections.Get Dictionary Keys normally sorts the keys. I disabled key sorting in Python 3, because most builtin types are not comparable to each other. This further affects Get Dictionary Values and Get Dictionary Items. I still need to find a better solution… Maybe imitate Python 2 sorting? Any suggestions? :)

Metadata

Release files for robotframework-python3 2.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for robotframework-python3 2.9
File Size Uploaded
robotframework-python3-2.9.tar.gz 3.5 MB Details

Release files / robotframework-python3-2.9.tar.gz

Download URL robotframework-python3-2.9.tar.gz
Size 3.5 MB
Tags Source
SHA-256 checksum
How to use checksums
f22bf5d49f73ca70882e242f9ebf7d39ba29721f0ab0bde5061fc4a0ffb4b1aa
BLAKE2b-256 checksum
How to use checksums
bc8b22ee4aee0962f4351265ce1c34f214011ee942df4f02cfbc87276ddea91d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.9 This release

1 release file

2.8.7

1 release file

2.8.6

1 release file

2.8.5

1 release file

2.8.4

1 release file

2.8.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page