summaryrefslogtreecommitdiff
path: root/tests/test_usd.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace tests that assert on token output with auto-updatable samples (#1649)Oleh Prypin2021-01-181-506/+0
|
* Run pyupgrade across codebase to modernize syntax and patterns (#1622)Jon Dufresne2021-01-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | pyupgrade is a tool to automatically upgrade syntax for newer versions of the Python language. The project has been Python 3 only since 35544e2fc6eed0ce4a27ec7285aac71ff0ddc473, allowing for several cleanups: - Remove unnecessary "-*- coding: utf-8 -*-" cookie. Python 3 reads all source files as utf-8 by default. - Replace IOError/EnvironmentError with OSError. Python 3 unified these exceptions. The old names are aliases only. - Use the Python 3 shorter super() syntax. - Remove "utf8" argument form encode/decode. In Python 3, this value is the default. - Remove "r" from open() calls. In Python 3, this value is the default. - Remove u prefix from Unicode strings. In Python 3, all strings are Unicode. - Replace io.open() with builtin open(). In Python 3, these functions are functionally equivalent. Co-authored-by: Matthäus G. Chajdas <Anteru@users.noreply.github.com>
* all: remove "u" string prefix (#1536)Georg Brandl2020-09-081-213/+213
| | | | | | | | | | | * all: remove "u" string prefix * util: remove unirange Since Python 3.3, all builds are wide unicode compatible. * unistring: remove support for narrow-unicode builds which stopped being relevant with Python 3.3
* Replaced Literal.Number with NumberColin Kennedy2019-12-051-33/+33
|
* Replaced Literal.String with StringColin Kennedy2019-12-051-21/+21
|
* Separated different pieces of text into whitespace and punctuation and textColin Kennedy2019-12-051-130/+130
|
* Fixed numeric testColin Kennedy2019-12-051-4/+4
|
* Added scientific notation support for USD numbersColin Kennedy2019-12-051-1/+9
|
* Replaced `Generic` with `Text` and `Punctuation` in test_usd.pyColin Kennedy2019-12-041-25/+25
|
* Removed module import from test_usd.pyColin Kennedy2019-12-041-312/+297
|
* Updated unittests to make sure outer-text-pair matches are not matched a ↵Colin Kennedy2019-12-041-2/+55
| | | | string types
* Fixed a typo in an existing docstringColin Kennedy2019-12-011-1/+1
|
* Added missing docstringsColin Kennedy2019-12-011-23/+40
|
* Renamed unittest class to be more explicitColin Kennedy2019-12-011-1/+1
|
* Changed the special names of USD to the "Builtins" tokens, instead of ↵Colin Kennedy2019-12-011-1/+1
| | | | "Attribute" token
* Fixed issue where attributes were getting matched, even in USD metadataColin Kennedy2019-12-011-5/+5
|
* Added a separate test method for testing USD metadataColin Kennedy2019-11-301-1/+47
|
* Added string priority testColin Kennedy2019-11-301-2/+15
|
* Added single / multiline string testsColin Kennedy2019-11-301-9/+55
|
* Added test_composition_arcs test methodColin Kennedy2019-11-301-106/+104
|
* Ran auto-fix on test_usd.pyColin Kennedy2019-11-301-177/+174
|
* Added test_numbersColin Kennedy2019-11-301-7/+122
|
* Changed the attribute regex to detect if "timeSamples" was authoredColin Kennedy2019-11-301-1/+3
|
* Got the `test_attribute` method to passColin Kennedy2019-11-301-17/+103
|
* Renamed test_usda.py to test_usd.pyColin Kennedy2019-11-301-0/+206