Fixed passing invalid argument to pytest.raises

This commit is contained in:
Michael Lazar authored and GitHub committed 2018-05-23 12:22:50 -04:00
1 parent 4ccb420d60
commit 26bfeb8802
1 file changed
+2 -2
+2 -2
View File
@@ -194,8 +194,8 @@ def test_theme_from_name():
assert theme.elements['Upvote'] == (-1, -1, curses.A_NORMAL)
# Invalid theme name
with pytest.raises(ConfigError, path=path):
theme.from_name('invalid_theme_name')
with pytest.raises(ConfigError):
theme.from_name('invalid_theme_name', path=path)
def test_theme_initialize_attributes(stdscr):