File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ class PostgresqlConfigDict(TypedDict):
2828def get_config (request : FixtureRequest ) -> PostgresqlConfigDict :
2929 """Return a dictionary with config options."""
3030
31- def get_postgresql_option (option : str , default : Any = None ) -> Any :
31+ def get_postgresql_option (option : str ) -> Any :
3232 name = "postgresql_" + option
33- return request .config .getoption (name ) or request .config .getini (name ) or default
33+ return request .config .getoption (name ) or request .config .getini (name )
3434
3535 load_paths = detect_paths (get_postgresql_option ("load" ))
3636
@@ -39,7 +39,7 @@ def get_postgresql_option(option: str, default: Any = None) -> Any:
3939 host = get_postgresql_option ("host" ),
4040 port = get_postgresql_option ("port" ),
4141 # Parse as int, because if it's defined in an INI file then it'll always be a string
42- port_search_count = int (get_postgresql_option ("port_search_count" , default = 5 )),
42+ port_search_count = int (get_postgresql_option ("port_search_count" )),
4343 user = get_postgresql_option ("user" ),
4444 password = get_postgresql_option ("password" ),
4545 options = get_postgresql_option ("options" ),
You can’t perform that action at this time.
0 commit comments