Always creating list for consistency.
Co-Authored-By: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
		
							parent
							
								
									63e3d89647
								
							
						
					
					
						commit
						122cf60b27
					
				|  | @ -1113,7 +1113,7 @@ def fixture( | ||||||
|                 ``fixture_<fixturename>`` and then use |                 ``fixture_<fixturename>`` and then use | ||||||
|                 ``@pytest.fixture(name='<fixturename>')``. |                 ``@pytest.fixture(name='<fixturename>')``. | ||||||
|     """ |     """ | ||||||
|     if params is not None and not isinstance(params, (list, tuple)): |     if params is not None: | ||||||
|         params = list(params) |         params = list(params) | ||||||
| 
 | 
 | ||||||
|     fixture_function, arguments = _parse_fixture_args( |     fixture_function, arguments = _parse_fixture_args( | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue