Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/test_backend_capabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def test_baserobot_module_has_no_pyplot_import(self):
"robot",
"BaseRobot.py",
)
with open(os.path.normpath(base_robot_path)) as f:
with open(os.path.normpath(base_robot_path), encoding="utf-8") as f:
source = f.read()

tree = ast.parse(source)
Expand Down Expand Up @@ -231,7 +231,7 @@ def test_baserobot_module_no_matplotlib_top_level(self):
"BaseRobot.py",
)
)
with open(base_robot_path) as f:
with open(base_robot_path, encoding="utf-8") as f:
source = f.read()

tree = ast.parse(source)
Expand All @@ -257,7 +257,7 @@ def test_websockets_pin_relaxed(self):
toml_path = os.path.normpath(
os.path.join(os.path.dirname(__file__), "..", "pyproject.toml")
)
with open(toml_path) as f:
with open(toml_path, encoding="utf-8") as f:
content = f.read()
self.assertNotIn(
"websockets<11",
Expand Down
Loading