ingore duplicate code in tests
Browse files
tests/test_prompt_tokenizers.py
CHANGED
@@ -61,6 +61,7 @@ class TestPromptTokenizationStrategies(unittest.TestCase):
|
|
61 |
tests the interface between the user and assistant parts
|
62 |
"""
|
63 |
prompter = NoSystemPrompter()
|
|
|
64 |
strat = AlpacaPromptTokenizingStrategy(
|
65 |
prompter,
|
66 |
self.tokenizer,
|
@@ -80,6 +81,7 @@ class TestPromptTokenizationStrategies(unittest.TestCase):
|
|
80 |
"""
|
81 |
tests the interface between the user and assistant parts
|
82 |
"""
|
|
|
83 |
prompter = AlpacaPrompter()
|
84 |
strat = AlpacaPromptTokenizingStrategy(
|
85 |
prompter,
|
|
|
61 |
tests the interface between the user and assistant parts
|
62 |
"""
|
63 |
prompter = NoSystemPrompter()
|
64 |
+
# pylint: disable=duplicate-code
|
65 |
strat = AlpacaPromptTokenizingStrategy(
|
66 |
prompter,
|
67 |
self.tokenizer,
|
|
|
81 |
"""
|
82 |
tests the interface between the user and assistant parts
|
83 |
"""
|
84 |
+
# pylint: disable=duplicate-code
|
85 |
prompter = AlpacaPrompter()
|
86 |
strat = AlpacaPromptTokenizingStrategy(
|
87 |
prompter,
|