Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
e63a81dd
"docs/source/vscode:/vscode.git/clone" did not exist on "d787935a14c988a91905ebd8cbfcf10bffcad9f8"
Commit
e63a81dd
authored
Jan 29, 2020
by
Lysandre
Browse files
Style
parent
21734901
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/test_tokenization_common.py
tests/test_tokenization_common.py
+3
-3
No files found.
tests/test_tokenization_common.py
View file @
e63a81dd
...
...
@@ -502,9 +502,9 @@ class TokenizerTesterMixin:
tokenizer
=
self
.
get_tokenizer
(
random_argument
=
True
)
print
(
tokenizer
.
init_kwargs
)
assert
tokenizer
.
init_kwargs
[
'
random_argument
'
]
is
True
assert
tokenizer
.
init_kwargs
[
"
random_argument
"
]
is
True
new_tokenizer
=
self
.
get_tokenizer
(
random_argument
=
False
)
print
(
tokenizer
.
init_kwargs
)
print
(
new_tokenizer
.
init_kwargs
)
assert
tokenizer
.
init_kwargs
[
'
random_argument
'
]
is
True
assert
new_tokenizer
.
init_kwargs
[
'
random_argument
'
]
is
False
assert
tokenizer
.
init_kwargs
[
"
random_argument
"
]
is
True
assert
new_tokenizer
.
init_kwargs
[
"
random_argument
"
]
is
False
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment