-
-
Save addisonlynch/89f0a1ca6cabc90e2533ab7ee921dd90 to your computer and use it in GitHub Desktop.
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
import pandas as pd | |
methods = [ | |
("a", 1), | |
("b", 2), | |
("c", 3) | |
] | |
class TestStocks(object): | |
def setup_class(self): | |
self.foo = foo() | |
@pytest.mark.parametrize(methods) | |
def test_format(self): | |
assert self.foo.getattr(methods[0]) == methods[1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment