-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Record intermediate test data without CR (#419)
We remove carriage-return characters (`\r`) from the golden files, and save them explicitly as bytes so that we have less problems between Windows and Linux. Namely, Git treats long text files as binary so changes in the line endings are unexpectedly reported as differences.
- Loading branch information
Showing
5 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
Binary file added
BIN
+1.47 KB
...documentation/docstring_with_special_characters_outside_literal/expected_symbol_table.txt
Binary file not shown.
20 changes: 20 additions & 0 deletions
20
...te/expected/documentation/docstring_with_special_characters_outside_literal/meta_model.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# We test for ``\x09`` and other special characters, and make sure they are represented | ||
# adequately in the string dump of the symbol table. | ||
|
||
|
||
class Non_empty_XML_serializable_string(str, DBC): | ||
r""" | ||
Represent a string with at least one character. | ||
The string should also be serializable to XML, which is the background for | ||
the following constraint. | ||
:constraint AASd-130: | ||
An attribute with data type "string" shall consist of these characters only: | ||
^[\x09\x0A\x0D\x20-\uD7FF\uE000-\uFFFD\u00010000-\u0010FFFF]*$. | ||
""" | ||
|
||
|
||
__version__ = "dummy" | ||
__xml_namespace__ = "https://dummy.com" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters