Skip to content

Commit 9c95617

Browse files
authored
[lldb][test][NFC] Remove BOM characters from tests (#97045)
These handful of tests had a BOM (Byte order mark) at the beginning of the file. This marker is unnecessary in our test files. The main motivation for this is that the `ast` python module breaks when passing a file to it with a BOM marker (and might break other tooling which doesn't expect it). E.g.,: ``` """Test that lldb command 'process signal SIGUSR1' to send a signal to the inferior works.""" ^ SyntaxError: invalid non-printable character U+FEFF ``` If anyone is aware of a good reason to keep it, happy to drop this.
1 parent 08892cc commit 9c95617

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

lldb/test/API/commands/expression/call-restarts/TestCallThatRestarts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
"""
22
Test calling a function that hits a signal set to auto-restart, make sure the call completes.
33
"""
44

lldb/test/API/functionalities/load_lazy/TestLoadUsingLazyBind.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
"""
22
Test that SBProcess.LoadImageUsingPaths uses RTLD_LAZY
33
"""
44

lldb/test/API/functionalities/load_unload/TestLoadUnload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
"""
22
Test that breakpoint by symbol name works correctly with dynamic libs.
33
"""
44

lldb/test/API/functionalities/load_using_paths/TestLoadUsingPaths.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""
1+
"""
22
Test that SBProcess.LoadImageUsingPaths works correctly.
33
"""
44

lldb/test/API/functionalities/location-list-lookup/TestLocationListLookup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Test that lldb picks the correct DWARF location list entry with a return-pc out of bounds."""
1+
"""Test that lldb picks the correct DWARF location list entry with a return-pc out of bounds."""
22

33
import lldb
44
from lldbsuite.test.decorators import *

lldb/test/API/functionalities/signal/TestSendSignal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Test that lldb command 'process signal SIGUSR1' to send a signal to the inferior works."""
1+
"""Test that lldb command 'process signal SIGUSR1' to send a signal to the inferior works."""
22

33

44
import lldb

0 commit comments

Comments
 (0)