summaryrefslogtreecommitdiff
path: root/tests/test_usd.py
diff options
context:
space:
mode:
authorColin Kennedy <colinvfx@gmail.com>2019-11-30 21:04:12 -0800
committerColin Kennedy <colinvfx@gmail.com>2019-11-30 21:04:12 -0800
commit47ae1e3bec73a5d2f363a7d6d4da671b26eb27a7 (patch)
tree86101c397d3b2973718341e447225c5bd0cf0810 /tests/test_usd.py
parent4d634c7fe0eb7ca959f9d64f74062756b4faf8d2 (diff)
downloadpygments-git-47ae1e3bec73a5d2f363a7d6d4da671b26eb27a7.tar.gz
Changed the attribute regex to detect if "timeSamples" was authored
Diffstat (limited to 'tests/test_usd.py')
-rw-r--r--tests/test_usd.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_usd.py b/tests/test_usd.py
index 4bfe2f62..54603ddb 100644
--- a/tests/test_usd.py
+++ b/tests/test_usd.py
@@ -230,7 +230,9 @@ class UsdTest(unittest.TestCase):
(token.Token.Text.Whitespace, u' '),
(token.Token.Keyword.Type, u'int[]'),
(token.Token.Text.Whitespace, u' '),
- (token.Token.Name.Attribute, u'foo.timeSamples'),
+ (token.Token.Name.Attribute, u'foo'),
+ (token.Generic, u'.'),
+ (token.Name.Keyword.Tokens, u'timeSamples'),
(token.Token.Text.Whitespace, u' '),
(token.Token.Operator, u'='),
(token.Token.Text, u' '),